From 99cfb9be6ed2d244af806bc92fed8c8890a3616a Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 1 Apr 2009 04:20:05 +0000 Subject: * process.c (rb_f_sleep): RDoc disambiguation. [ruby-talk:332632] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'process.c') diff --git a/process.c b/process.c index 4b39d897f..f86ee199a 100644 --- a/process.c +++ b/process.c @@ -3220,8 +3220,8 @@ rb_f_spawn(int argc, VALUE *argv) * Suspends the current thread for _duration_ seconds (which may be any number, * including a +Float+ with fractional seconds). Returns the actual number of * seconds slept (rounded), which may be less than that asked for if another - * thread calls Thread#run. Zero arguments causes +sleep+ to sleep - * forever. + * thread calls Thread#run. Called without an argument, sleep() + * will sleep forever. * * Time.new #=> 2008-03-08 19:56:19 +0900 * sleep 1.2 #=> 1 -- cgit