mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
c0a09d9594
commit
299d8fb1b7
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
2
random.c
2
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
|
||||
|
|
Loading…
Reference in a new issue