まつもと ゆきひろです
In message "[ruby-list:8875] english manual 1.1c - rand"
on 98/07/27, "Kikutani, Makoto" <kikutani / sprintmail.com> writes:
| rand(max)
| Returns a random integer number between 0 and the value of max.
| (max should be positive.) This function produces repeatable
| sequences unless srand is invoked.
|
|between 0 and less than the value of max のほうがいいですね。
|今の記述だとmaxもふくまれるようにも読めるので。
なるほど.修正します.勉強になるなあ.