From: Ken Bloom Date: 2011-01-15T03:08:18+09:00 Subject: Re: What does class Random require? On Sat, 15 Jan 2011 00:18:34 +0900, Jose Hales-Garcia wrote: > On Jan 14, 2011, at 7:15 AM, tzthomas1 wrote: > >> What does class Random require? > > I think Ruby 1.9.2. If you can't user Ruby 1.9.2, then maybe the simple-random gem will do what you want (http://mendicantbug.com/2010/07/24/simple-random-number- generator-gem/) Alternatively, if you're working in JRuby, you can just instantiate a java.util.Random -- Chanoch (Ken) Bloom. PhD candidate. Linguistic Cognition Laboratory. Department of Computer Science. Illinois Institute of Technology. http://www.iit.edu/~kbloom1/