On Aug 3, 2008, at 12:00 PM, Lars Christensen wrote:

>
>
> On Mon, 4 Aug 2008, Yukihiro Matsumoto wrote:
>
>> Yeah, making something clean and concise is my basic source of
>> decision.  Either ary.shuffle[0] or ary[rand(ary.length)] do not
>> express my intention directly.
>
> Does this? (Don't know if it was suggested before)
>
> rand(ary)
> rand(7..15)
> rand [:red, :green, :blue]

Interesting idea, but kind of function oriented for Ruby's mainly OO  
world, don't you think?

James Edward Gray II