On Sat, May 18, 2002 at 10:52:18AM +0900, Dossy wrote: > On 2002.05.18, Jim Freeze <jim / freeze.org> wrote: > > the Range#exclude_end? indicates to me that > > > > (1..2) and (1...2) have the same #end value, but > > different lengths/sizes. > > Oh, eek. Well, what's Array#[obj] do? If the obj is a Range, > it only looks at obj.begin? > No, it returns an array. a=%w{one two three} #=> ["one", "two", "three"] a[1..2] #=> ["two", "three"] -- Jim Freeze If only I had something clever to say for my comment... ~