From: Derek Cannon Date: 2009-12-13T21:25:11+09:00 Subject: Re: Code block for element comparison in an array? > Just translate this directly to Ruby and you have your solution. Hint: > you can use Fixnum#upto. > > Kind regards > > robert I thought Ruby does not have a for loop. Am I wrong? If it doesn't, I don't know how to do this. -- Posted via http://www.ruby-forum.com/.