Array.shuffle()?

I've been wondering lately, is there any particular reason Array
doesn't have a shuffle() method? I realize it's pretty simple to roll

my own, but this seems useful in many situations so I'm surprised it's

not part of the core. Any thoughts?

ary.sort_by {rand}

Very clever. Thanks for the lesson.

James Edward Gray II

ยทยทยท

On Sep 22, 2004, at 9:26 PM, Mehr, Assaph (Assaph) wrote:

ary.sort_by {rand}