From: Yossef Mendelssohn Date: 2011-02-02T03:30:15+09:00 Subject: Re: Decreasing range? On Feb 1, 3:21 am, Stefano Crocco wrote: > class Range >   def each >     current = @start >     while (current <=> @end) < 1 >       yield current >       current = current.succ >     end >   end > end Your use of <=> is perplexing, given that anything Comparable would have a nicer operator for this purpose. -- -yossef