1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/stringio
nobu e96f0f76b3 stringio.c: convert arguments just once
* ext/stringio/stringio.c (strio_each, strio_readlines): convert
  arguments just once before reading, instead of conversions for
  each lines, as r55603.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-07-11 07:00:58 +00:00
..
depend Update dependencies 2016-07-06 05:48:13 +00:00
extconf.rb handle ext/ as r53141 2015-12-16 05:31:54 +00:00
README.md ext/stringio/README.md: update [ci skip] 2016-06-08 07:47:39 +00:00
stringio.c stringio.c: convert arguments just once 2016-07-11 07:00:58 +00:00

StringIO

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.