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