From: Michel Demazure Date: 2007-10-31T16:24:53+09:00 Subject: Re: Code to DRY Konrad Meyer wrote: > Quoth Martin DeMello: >> end >> end >> >> class Klass1 >> include Ordered >> >> def less_than_or_equal? other >> # stuff >> end >> end > > And instead of #le?, why not #<, #==, #>, #<=>? #< looks good. Thanks. -- Posted via http://www.ruby-forum.com/.