From: Ruby Rabbit Date: 2009-01-14T14:11:54+09:00 Subject: Re: Implementing each and <=> > Thus, you'll be at > > def each &blk > @list.send :each, &blk > end > > and it's easier to do > > def each &blk > @list.each &blk > end > > --Ken thanks, (I did forget to put the :each in the lines i put) > Is there sume useful comparison for comparing two different data models > with each other? If not, then don't define <=>. No, not at all. Thanks again. -- Posted via http://www.ruby-forum.com/.