From: David Douthitt Date: 2005-07-13T02:20:51+09:00 Subject: Re: Question: arrays v. ranges and *.each Shashank Date wrote: > You are mixing two things here: a range and an array. > [1..10] is an array of one object (1..10) which is an > instance of the Range class. Aha! That explains it all... So then: puts ([1..10] == 1..10 ? "true" : "false") returns "false" - a complicated way to say 1..10 and [1..10] are not the same thing :-) So, in my original programming, what I wanted was not "[1..10]" but "(1..10)". It all makes sense now. Thanks all!