[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-talk
Subject:    Re: What does class Random require?
From:       Ken Bloom <kbloom () gmail ! com>
Date:       2011-01-14 18:08:18
Message-ID: pan.2011.01.14.17.18.19 () gmail ! com
[Download RAW message or body]

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/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic