summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-11 16:17:56 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-11 16:17:56 +0000
commit86134239456629d40006d46594be00bc3236c676 (patch)
tree334f3f95e70add6166525d18e7d1e8f18d4cc388 /io.c
parent7306152d3eafc769595e87a2fc456206dfb1d9af (diff)
rdoc fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/io.c b/io.c
index 320950ed97..62f0a2152f 100644
--- a/io.c
+++ b/io.c
@@ -4698,9 +4698,9 @@ pop_last_hash(int *argc_p, VALUE *argv)
* nkf_io = IO.popen("nkf -e filename", :external_encoding=>"EUC-JP")
* euc_jp_string = nkf_io.read
*
- * # merge standard output and standard error using
- * # spawn option. See the document of Kernel.spawn.
- * ls_io = IO.popen(["ls", "/", STDERR=>[:child, STDOUT]])
+ * # discard standard error using spawn option.
+ * # See the document of Kernel.spawn.
+ * ls_io = IO.popen(["ls", "/", :err=>"/dev/null"])
* ls_result_with_error = ls_io.read
*
* Raises exceptions which <code>IO.pipe</code> and