From: spiralofhope Date: 2011-03-29T03:54:02+09:00 Subject: Re: A greenhand rubyist program -- ask for comments On Mon, 28 Mar 2011 02:15:25 +0900 Wik wrote: > WORDS_LIST.shuffle! > @word = WORDS_LIST[rand(WORDS_LIST.size - 1)] If you're using .shuffle! on the array, then why not change the second line to something like: @word = WORDS_LIST[0] Also, I wonder if you need to use srand for the .shuffle!