Project

General

Profile

Bug #3745 ยป array-shuffle-doc.patch

runpaint (Run Paint Run Run), 08/26/2010 08:32 PM

View differences:

array.c
*
* If +rng+ is given, it will be used as the random number generator.
*
* a.shuffle(Random.new(1)) #=> [1, 3, 2]
* a.shuffle(random: Random.new(1)) #=> [1, 3, 2]
*/
static VALUE
    (1-1/1)