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
mame 9e3e19cd1f * ext/stringio/stringio.c (strio_getline): fix for nil and "" as
separator.  [ruby-dev:34591]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-30 13:30:11 +00:00
..
.cvsignore
depend * ext/stringio/stringio.c (strio_getc): rb_enc_mbclen() fix. 2007-09-06 15:42:53 +00:00
extconf.rb
README * $Date$ keyword removed to avoid inclusion of locale dependent 2008-01-06 15:49:38 +00:00
stringio.c * ext/stringio/stringio.c (strio_getline): fix for nil and "" as 2008-06-30 13:30:11 +00:00

-*- rd -*-
$Author$

=begin

= StringIO
Pseudo (({IO})) class from/to (({String})).

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

= Differences to (({IO}))

* not implemented: (({fcntl})), (({reopen})).
* (({fileno})) returns nil.
* (({pos=})) returns new position, not 0.
* (({ungetc})) does nothing at start of the string. 

=end