From: Ryan Davis Date: 2013-03-30T06:28:49+09:00 Subject: Re: Program with shuffle program On Mar 29, 2013, at 07:47 , Chris Hulan wrote: > this line: > return shuffled if unshuffled.index == 0 > > I think you mean > return shuffled if unshuffled.length == 0 which could be made even more clear with: return shuffled if unshuffled.empty?