i've not used ruby for that long, but i've found the need to do the following rather often: [3, 2, 5, 2, 19].rand_item # => returns random item from array short code, but could be helpful to others (needed it in all of my last projects, but perhaps i'm just strange) regards repeater