From 299d8fb1b7c10eb1b6a5961856addbe61149b549 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 3 Sep 2009 19:49:43 +0000 Subject: [PATCH] * random.c (random_rand): fixed rdoc. [ruby-core:25332] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ random.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b8ccf6edf8..5000b938ee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Sep 4 04:49:39 2009 Nobuyoshi Nakada + + * random.c (random_rand): fixed rdoc. [ruby-core:25332] + Fri Sep 4 04:46:08 2009 Nobuyoshi Nakada * lib/webrick/httpservlet/abstract.rb (do_OPTIONS): method names diff --git a/random.c b/random.c index 5556bded3e..b9383f9cfc 100644 --- a/random.c +++ b/random.c @@ -957,7 +957,7 @@ float_value(VALUE v) * * When the argument is an +Integer+ or a +Bignum+, it returns a * random integer greater than or equal to zero and less than the - * argument. Unlike Random#rand, when the argument is a negative + * argument. Unlike Random.rand, when the argument is a negative * integer or zero, it raises an ArgumentError. * * When the argument is a +Float+, it returns a random floating point