[前][次][番号順一覧][スレッド一覧]

ruby-changes:11482

From: matz <ko1@a...>
Date: Wed, 1 Apr 2009 13:20:17 +0900 (JST)
Subject: [ruby-changes:11482] Ruby:r23108 (trunk): * process.c (rb_f_sleep): RDoc disambiguation.

matz	2009-04-01 13:20:05 +0900 (Wed, 01 Apr 2009)

  New Revision: 23108

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=23108

  Log:
    * process.c (rb_f_sleep): RDoc disambiguation.  [ruby-talk:332632]

  Modified files:
    trunk/ChangeLog
    trunk/process.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 23107)
+++ ChangeLog	(revision 23108)
@@ -1,3 +1,7 @@
+Wed Apr  1 13:16:19 2009  Yukihiro Matsumoto  <matz@r...>
+
+	* process.c (rb_f_sleep): RDoc disambiguation.  [ruby-talk:332632]
+
 Tue Mar 31 15:17:37 2009  Nobuyoshi Nakada  <nobu@r...>
 
 	* configure.in: fixed the help strings for the header and library
Index: process.c
===================================================================
--- process.c	(revision 23107)
+++ process.c	(revision 23108)
@@ -3220,8 +3220,8 @@
  *  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 <code>Thread#run</code>. Zero arguments causes +sleep+ to sleep
- *  forever.
+ *  thread calls <code>Thread#run</code>. Called without an argument, sleep()
+ *  will sleep forever.
  *
  *     Time.new    #=> 2008-03-08 19:56:19 +0900
  *     sleep 1.2   #=> 1

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]