summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-03 19:49:43 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-03 19:49:43 +0000
commit235c2127f1272e3fe92759ac42be88c535c2e112 (patch)
treed094d0434cc7aa1d648efce7c3497fe90ff0cb48
parent411319abcbb1400669c9b9b01effc111934e7552 (diff)
downloadruby-235c2127f1272e3fe92759ac42be88c535c2e112.tar.gz
ruby-235c2127f1272e3fe92759ac42be88c535c2e112.tar.xz
ruby-235c2127f1272e3fe92759ac42be88c535c2e112.zip
* random.c (random_rand): fixed rdoc. [ruby-core:25332]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--random.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b8ccf6edf..5000b938e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Sep 4 04:49:39 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * random.c (random_rand): fixed rdoc. [ruby-core:25332]
+
Fri Sep 4 04:46:08 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/webrick/httpservlet/abstract.rb (do_OPTIONS): method names
diff --git a/random.c b/random.c
index 5556bded3..b9383f9cf 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