Subject: Re: Have I been staring at the screen too long?
From: Brian Candler <b.candler pobox.com>
Date: Tue, 17 Aug 2010 19:00:19 +0900
References: 367820367827
In-reply-to: 367827
David Masover wrote:
> Apparently, the core Array class has a private 'rand' method?
That'll be Kernel#rand I expect.
irb(main):001:0> rand(10)
=> 7
--
Posted via http://www.ruby-forum.com/.