ruby/ext/stringio
matz 16549e33da * ext/stringio/stringio.c (strio_write): should convert writing
string to the encoding of the buffer.

* hash.c (rb_any_hash): typo fixed.

* ext/zlib/zlib.c (rb_gzwriter_write): oops, IO string conversion
  need to be done by to_s.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-21 14:14:13 +00:00
..
.cvsignore add extconf.h to .cvsignore. 2006-06-24 01:15:08 +00:00
README * $Date$ keyword removed to avoid inclusion of locale dependent 2008-01-06 15:49:38 +00:00
depend * ext/stringio/stringio.c (strio_getc): rb_enc_mbclen() fix. 2007-09-06 15:42:53 +00:00
extconf.rb * ext/extmk.rb (MANIFEST): do not use anymore, use extconf.rb instead. 2004-11-01 05:04:04 +00:00
stringio.c * ext/stringio/stringio.c (strio_write): should convert writing 2008-10-21 14:14:13 +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