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
matz c8c6ab229a * ext/stringio/stringio.c (strio_getc): should returns
one-character string.

* ext/stringio/stringio.c: remove unnecessary prototypes.

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

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

* ext/stringio/stringio.c (strio_ungetc): should take a string as
  an input.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-15 00:33:33 +00:00
..
.cvsignore add extconf.h to .cvsignore. 2006-06-24 01:15:08 +00:00
depend * include/ruby: moved public headers. 2007-06-10 03:06:15 +00:00
extconf.rb * ext/extmk.rb (MANIFEST): do not use anymore, use extconf.rb instead. 2004-11-01 05:04:04 +00:00
README Initial revision 2002-02-19 13:16:23 +00:00
stringio.c * ext/stringio/stringio.c (strio_getc): should returns 2007-08-15 00:33:33 +00:00

-*- rd -*-
$Author$
$Date$

=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