From: Logan Capaldo Date: 2006-05-06T05:51:28+09:00 Subject: Re: comparing objects On May 5, 2006, at 4:44 PM, Robert Klemme wrote: > The most notable exception I am aware of is this: > > irb(main):060:0> 2.eql? 2.0 > => false > irb(main):061:0> 2 == 2.0 > => true > > A Hash uses eql? > > HTH > > robert Based on this I would amend your explanation with #eql? -- Equivalence with structure and type #== -- Equivalence with structure #equal? -- Identity