Harry Ohlsen wrote:

> Can someone remind me of the name for the class/method for generating random 
> numbers?  I did a quick grep through the library and a google, but all I 
> found was a project that plans to improve the random number generator(s).
> 
> Thanks in advance,
> 
> Harry O.
> 
> 
oban:~# irb
irb(main):001:0> rand(10)
=> 8

You have the rand method.
rand(n) return a number in [1..n-1].