summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-10 17:18:31 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-10 17:18:31 +0000
commitfe53e0f85760075aee3db77ba3a63f95172d03e9 (patch)
tree62b450f440b3eb4a899735c81784250f4aa27b5e
parentee8227c1ecadb483a247c20c57b3864afeb5c36f (diff)
downloadruby-fe53e0f85760075aee3db77ba3a63f95172d03e9.tar.gz
ruby-fe53e0f85760075aee3db77ba3a63f95172d03e9.tar.xz
ruby-fe53e0f85760075aee3db77ba3a63f95172d03e9.zip
rdoc update.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index a9210f569..1b0a20d07 100644
--- a/io.c
+++ b/io.c
@@ -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