From: Craig Demyanovich Date: 2008-05-21T22:19:37+09:00 Subject: Re: How to implement this in unit testing On Wed, May 21, 2008 at 4:25 AM, ethica1 wrote: > just small change as [1..5].each does not work correctly so I may > change it to [1,2,3,4,5].each You can use a range instead of an array, e.g., (1..5).each { |n| puts n } . Craig