rdoc update.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2008-12-10 17:18:31 +00:00
parent 82c719c337
commit b314ab3e44

2
io.c
View File

@ -4759,7 +4759,7 @@ pop_last_hash(int *argc_p, VALUE *argv)
* *
* # merge standard output and standard error using * # merge standard output and standard error using
* # spawn option. See the document of Kernel.spawn. * # spawn option. See the document of Kernel.spawn.
* ls_io = IO.popen(["ls", "/", STDERR=>[:child, STDOUT]]) * ls_io = IO.popen(["ls", "/", :err=>[:child, :out]])
* ls_result_with_error = ls_io.read * ls_result_with_error = ls_io.read
* *
* Raises exceptions which <code>IO.pipe</code> and * Raises exceptions which <code>IO.pipe</code> and