ruby--ruby/ext/stringio
matz 81525af4c9 * ext/zlib/zlib.c (rb_gzreader_ungetc): should be able to unget
Fixnum.

* ext/stringio/stringio.c (strio_ungetc): should convert unget
  string.

* ext/stringio/stringio.c (strio_ungetbyte): new method.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-21 22:10:49 +00:00
..
.cvsignore
README * $Date$ keyword removed to avoid inclusion of locale dependent 2008-01-06 15:49:38 +00:00
depend
extconf.rb
stringio.c * ext/zlib/zlib.c (rb_gzreader_ungetc): should be able to unget 2008-10-21 22:10:49 +00:00

README

-*- 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