From: Warren Brown Date: 2003-07-29T06:28:31+09:00 Subject: Re: Generating random numbers? Harry, > Can someone remind me of the name for the > class/method for generating random numbers? Would you believe....... rand? Kernel#rand takes one optional parameter that if 0 (the default) returns a Float x such that 0 <= x < 1, and if not zero, returns an Integer x such that 0 <= x <= parameter. Use Kernel#srand to seed the random number generator. I hope this helps! - Warren Brown