ruby-changes:9788
From: matz <ko1@a...>
Date: Mon, 5 Jan 2009 08:03:13 +0900 (JST)
Subject: [ruby-changes:9788] Ruby:r21329 (trunk): * random.c (rb_f_srand): update RDoc.
matz 2009-01-05 08:00:39 +0900 (Mon, 05 Jan 2009) New Revision: 21329 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=21329 Log: * random.c (rb_f_srand): update RDoc. [ruby-core:21113] Modified files: trunk/ChangeLog trunk/random.c Index: ChangeLog =================================================================== --- ChangeLog (revision 21328) +++ ChangeLog (revision 21329) @@ -1,3 +1,7 @@ +Mon Jan 5 07:58:37 2009 Yukihiro Matsumoto <matz@r...> + + * random.c (rb_f_srand): update RDoc. [ruby-core:21113] + Mon Jan 5 06:39:56 2009 Yukihiro Matsumoto <matz@r...> * range.c (range_max): max value from ... not defined for non Index: random.c =================================================================== --- random.c (revision 21328) +++ random.c (revision 21329) @@ -342,7 +342,7 @@ * srand(number=0) => old_seed * * Seeds the pseudorandom number generator to the value of - * <i>number</i>.<code>to_i.abs</code>. If <i>number</i> is omitted + * <i>number</i>. If <i>number</i> is omitted * or zero, seeds the generator using a combination of the time, the * process id, and a sequence number. (This is also the behavior if * <code>Kernel::rand</code> is called without previously calling -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/