From: Adriano Ferreira Date: 2005-05-06T00:09:41+09:00 Subject: Re: Whats so different about a Hash? > What does 1.9 do for Hash#eql? ? Probably some equivalent to: class Hash def eql?(b) h1 = (self.length >= b.length) ? self : b h2 = (self.length >= b.length) ? b : self return h1.all? { | k, v | v.eql?(h2[k]) } end end where setting h1, h2 is a trick for granting there will be no false positives.