зеркало из https://github.com/github/ruby.git
47cb5a93e5
StringIO#set_encoding can get 2nd argument and optional hash for API compatibility to IO. [ruby-dev:42356] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
||
---|---|---|
.. | ||
README | ||
depend | ||
extconf.rb | ||
stringio.c |
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