class Hamster::Hash

def ==(other)

Returns:
  • (Boolean) -

Parameters:
  • other (Object) -- The object to compare with
def ==(other)
  self.eql?(other) || (other.respond_to?(:to_hash) && to_hash.eql?(other.to_hash))
end