From b314ab3e4406ff8f9ceb7dd60b5b1a302f02e6ef Mon Sep 17 00:00:00 2001 From: akr Date: Wed, 10 Dec 2008 17:18:31 +0000 Subject: [PATCH] rdoc update. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io.c b/io.c index a9210f569c..1b0a20d079 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 IO.pipe and