Skip to content

Commit 18152a7

Browse files
authored
Merge pull request rurema#3268 from znz/functions-rand-ref
srand の説明の生の Kernel.#rand を参照記法に変更
2 parents 47ab291 + a641c7e commit 18152a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

manual/api/_builtin/functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2109,7 +2109,7 @@ p rand(1..0) #=> nil
21092109

21102110
seed に整数を指定するとその絶対値を乱数の種に設定します。
21112111
それ以外の値を指定した場合は seed.to_int が指定されたものとして扱います。
2112-
seed に既知の値を与えると、以前の Kernel.#rand の値を再現できます。
2112+
seed に既知の値を与えると、以前の [m:Kernel?.rand] の値を再現できます。
21132113

21142114
seed が省略された時には
21152115
現在の時刻やプロセス ID、srand を呼び出した回数、

0 commit comments

Comments
 (0)