From: Joel VanderWerf Date: 2007-09-03T08:14:29+09:00 Subject: Re: extract a range start/end? 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. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407