GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ruby/stringio: Pseudo `IO` class from/to `String`.

BranchesTags
Open more actions menu

Latest commit

 

History

605 Commits
605 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
docs
docs
 
 
ext
ext
 
 
lib/java
lib/java
 
 
rakelib
rakelib
 
 
test
test
 
 
.document
.document
 
 
.gitignore
.gitignore
 
 
.rdoc_options
.rdoc_options
 
 
COPYING
COPYING
 
 
Gemfile
Gemfile
 
 
LICENSE.txt
LICENSE.txt
 
 
NEWS.md
NEWS.md
 
 
README.md
README.md
 
 
Rakefile
Rakefile
 
 
stringio.gemspec
stringio.gemspec
 
 

Repository files navigation

StringIO

ubuntu macos windows

Pseudo IO class from/to String.

This library is based on MoonWolf version written in Ruby. Thanks a lot.

Differences to IO

  • fileno raises NotImplementedError.
  • encoding conversion is not implemented, and ignored silently.
  • there is no #to_io method because this is not an IO.

Installation

Add this line to your application's Gemfile:

gem 'stringio'

And then execute:

$ bundle

Or install it yourself as:

$ gem install stringio

Development

Run bundle install to install dependencies and then bundle exec rake test to run the tests.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, author a NEWS.md section, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/ruby/stringio.

License

The gem is available as open source under the terms of the 2-Clause BSD License.

About

Pseudo `IO` class from/to `String`.

Topics

ruby

Resources

Readme

Security policy

Security policy
Activity
Custom properties

Stars

63 stars

Watchers

31 watching

Forks

43 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.