diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-10 17:18:31 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-10 17:18:31 +0000 |
commit | b314ab3e4406ff8f9ceb7dd60b5b1a302f02e6ef (patch) | |
tree | 62b450f440b3eb4a899735c81784250f4aa27b5e /io.c | |
parent | 82c719c3376a868834d45c4c995a4a2832616aed (diff) | |
download | ruby-b314ab3e4406ff8f9ceb7dd60b5b1a302f02e6ef.tar.gz |
rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4759,7 +4759,7 @@ pop_last_hash(int *argc_p, VALUE *argv) * * # merge standard output and standard error using * # 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 * * Raises exceptions which <code>IO.pipe</code> and |