search for: choose_random

Displaying 1 result from an estimated 1 matches for "choose_random".

Did you mean: choose_randomly
2008 Oct 30
2
Rails console
I tried to create an addition to Enumerable called choose_randomly that picks a random element from the Enumerable object. However when I define it and execute the code rand complains about the wrong number of arguments. Below is a capture of the ./script/console session. farrel@nicodemus ~/Work/GreenGreen/Code/green_green_client_application $ ./script/console...