[DOC] Mark up the code for Kernel#rand as the same as Random#rand
This commit is contained in:
parent
d1a55851e8
commit
5a75151a01
2
random.c
2
random.c
@ -1622,7 +1622,7 @@ rand_mt_equal(VALUE self, VALUE other)
|
|||||||
* rand(100) #=> 12
|
* rand(100) #=> 12
|
||||||
*
|
*
|
||||||
* When +max+ is a Range, +rand+ returns a random number where
|
* When +max+ is a Range, +rand+ returns a random number where
|
||||||
* range.member?(number) == true.
|
* <code>range.member?(number) == true</code>.
|
||||||
*
|
*
|
||||||
* Negative or floating point values for +max+ are allowed, but may give
|
* Negative or floating point values for +max+ are allowed, but may give
|
||||||
* surprising results.
|
* surprising results.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user