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 30540c5675 stringio.c: chomp CR
* ext/stringio/stringio.c (strio_getline): chomp CR not only LF,
  as well as String#chomp.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-10 08:54:40 +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: chomp CR 2016-12-10 08:54:40 +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.