mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 20:44:20 +00:00
* ext/stringio/stringio.c (strio_s_new): warn if a block is given, as well as IO.new. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-*- 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