From: Stefan Rusterholz Date: 2007-05-29T03:08:15+09:00 Subject: Re: randomize array content traktorman@gmail.com wrote: > Hello, > > After 2 months working with ruby i still bump to some of those: > > what would be the simplest way (couldn't find a rand method) to > achieve a subject's task? > > thanks! > t ary.sort_by { rand } Regards Stefan -- Posted via http://www.ruby-forum.com/.