From: Steven Lumos Date: 2007-06-19T08:04:52+09:00 Subject: Re: comments needed for Random class "NAKAMURA, Hiroshi" writes: > Hi, > > Thanks all for your comments. > > 1. Random#rand(range): it is proposed in ruby-dev, too. I dropped it > from my previous proposal because begin/last of a Range can be a float > number. I couldn't imagine what Random#range(Range.new(1.1, 3.1)) > should return. > > 2. Random#seed: should be added. > > 3. Random#random_seed: same as Random#srand(0), right? I intended something that just returns the result of random_seed() from random.c. So I should have said Random.random_seed instead of #random_seed and then Random#srand(Random.random_seed) and Random#srand(0) are roughly the same. Steve