diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-01-13 11:34:02 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-01-13 11:34:09 +0900 |
commit | 5a75151a0166ded78fc87ef5891a6877ba0950db (patch) | |
tree | 87d9015f623c4827cae446e97992cb5107872449 /random.c | |
parent | d1a55851e8b5d90c028466865eee4a99b48cec85 (diff) | |
download | ruby-5a75151a0166ded78fc87ef5891a6877ba0950db.tar.gz |
[DOC] Mark up the code for Kernel#rand as the same as Random#rand
Diffstat (limited to 'random.c')
-rw-r--r-- | random.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1622,7 +1622,7 @@ rand_mt_equal(VALUE self, VALUE other) * rand(100) #=> 12 * * 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 * surprising results. |