From: Michael Fellinger Date: 2008-06-04T13:19:53+09:00 Subject: Re: Array#choice on 1.8.7 On Wed, Jun 4, 2008 at 11:01 AM, Eustaquio 'TaQ' Rangel wrote: > Peña wrote: >> >> what do you want, no duplicates? > > No, please check that the three times I run the program without rand, the > results are the same all the times. With rand before choice, on the three > times the results were different, on a more random way. I guess you should call srand before using this (which calling rand will do as well). For some reason neither the new Array#shuffle nor Array#choice seems to do this right now. Might just as well be a bug. ^ manveru