mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
update rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
021aaa70d6
commit
f7676fd9d4
1 changed files with 5 additions and 0 deletions
5
io.c
5
io.c
|
@ -281,6 +281,11 @@ rb_io_get_write_io(VALUE io)
|
|||
*
|
||||
* IO.try_convert(STDOUT) # => STDOUT
|
||||
* IO.try_convert("STDOUT") # => nil
|
||||
*
|
||||
* f = open("/tmp/zz.gz") # => #<File:/tmp/zz.gz>
|
||||
* z = Zlib::GzipReader.open(f) # => #<Zlib::GzipReader:0x81d8744>
|
||||
* IO.try_convert(z) # => #<File:/tmp/zz.gz>
|
||||
*
|
||||
*/
|
||||
static VALUE
|
||||
rb_io_s_try_convert(VALUE dummy, VALUE io)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue