From: Wilson Bilkovich Date: 2007-09-03T08:59:34+09:00 Subject: Re: extract a range start/end? On 9/2/07, Joel VanderWerf wrote: > Wilson Bilkovich wrote: > >>From rdoc: > > Ranges can be constructed using objects of any type, as long as > > the objects can be compared using their <=> operator and they > > support the succ method to return the next object in sequence. > > > > In practice, that usually means 'Anything that has Enumerable as an ancestor' > > You meant Comparable, right? There's no connection between Enumerable > and #<=> or #succ. You are correct. Not enough sleep this weekend.