From 3c66767bda0dbd0a92ead7c2e2721614a9f82bbe Mon Sep 17 00:00:00 2001 From: matz Date: Sun, 4 Jan 2009 23:00:39 +0000 Subject: [PATCH] * random.c (rb_f_srand): update RDoc. [ruby-core:21113] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ random.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 034563a872..c2ab268654 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Jan 5 07:58:37 2009 Yukihiro Matsumoto + + * random.c (rb_f_srand): update RDoc. [ruby-core:21113] + Mon Jan 5 06:39:56 2009 Yukihiro Matsumoto * range.c (range_max): max value from ... not defined for non diff --git a/random.c b/random.c index 912039a31c..484c1902fb 100644 --- a/random.c +++ b/random.c @@ -342,7 +342,7 @@ random_seed(void) * srand(number=0) => old_seed * * Seeds the pseudorandom number generator to the value of - * number.to_i.abs. If number is omitted + * number. If number 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 * Kernel::rand is called without previously calling