From: Derek Cannon Date: 2009-12-14T00:10:26+09:00 Subject: Re: Code block for element comparison in an array? Thanks everyone for the information! :D Benoit Daloze wrote: > > P.S.: You can use 0...array.length instead of 0..array.length-1 Ah, thanks very much! That is very clever. -- Posted via http://www.ruby-forum.com/.