Sha256: 8aa9c62e73f43bd84e2b8923a0ce4f973b4cfdd031f56d09dd2dd1a66a40afeb

Contents?: true

Size: 1.48 KB

Versions: 2147

Compression:

Stored size: 1.48 KB

Contents

# StringIO

![ubuntu](https://github.com/ruby/stringio/workflows/ubuntu/badge.svg?branch=master&event=push)
![macos](https://github.com/ruby/stringio/workflows/macos/badge.svg?branch=master&event=push)
![windows](https://github.com/ruby/stringio/workflows/windows/badge.svg?branch=master&event=push)

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.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'stringio'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install stringio

## Development

After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, 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](https://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](https://opensource.org/licenses/BSD-2-Clause).

Version data entries

2,147 entries across 2,147 versions & 12 rubygems

Version Path
mux_ruby-3.20.0 vendor/bundle/ruby/3.2.0/gems/stringio-3.0.2/README.md
mux_ruby-3.19.0 vendor/bundle/ruby/3.2.0/gems/stringio-3.0.2/README.md
mux_ruby-3.18.0 vendor/bundle/ruby/3.2.0/gems/stringio-3.0.2/README.md
mux_ruby-3.17.0 vendor/bundle/ruby/3.2.0/gems/stringio-3.0.2/README.md
mux_ruby-3.15.0 vendor/bundle/ruby/3.2.0/gems/stringio-3.0.2/README.md
avalara_sdk-24.2.29 vendor/bundle/ruby/2.7.0/gems/stringio-3.0.2/README.md
stringio-3.0.1.2 README.md
stringio-3.0.1.1 README.md
mux_ruby-3.14.0 vendor/bundle/ruby/3.2.0/gems/stringio-3.0.2/README.md
mux_ruby-3.13.0 vendor/bundle/ruby/3.2.0/gems/stringio-3.0.2/README.md
mux_ruby-3.12.0 vendor/bundle/ruby/3.2.0/gems/stringio-3.0.2/README.md
mux_ruby-3.11.1 vendor/bundle/ruby/3.2.0/gems/stringio-3.0.2/README.md
mux_ruby-3.11.0 vendor/bundle/ruby/3.2.0/gems/stringio-3.0.2/README.md
mux_ruby-3.9.0 vendor/bundle/ruby/3.2.0/gems/stringio-3.0.2/README.md
cybrid_api_bank_ruby-0.60.3 vendor/bundle/ruby/3.1.0/gems/stringio-3.0.4/README.md
cybrid_api_organization_ruby-0.60.3 vendor/bundle/ruby/3.1.0/gems/stringio-3.0.4/README.md
cybrid_api_id_ruby-0.60.3 vendor/bundle/ruby/3.1.0/gems/stringio-3.0.4/README.md
cybrid_api_id_ruby-0.60.1 vendor/bundle/ruby/3.1.0/gems/stringio-3.0.4/README.md
cybrid_api_bank_ruby-0.60.1 vendor/bundle/ruby/3.1.0/gems/stringio-3.0.4/README.md
cybrid_api_organization_ruby-0.60.1 vendor/bundle/ruby/3.1.0/gems/stringio-3.0.4/README.md