class Hamster::Hash
def ==(other)
-
(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
(Boolean)
-
other
(Object
)
-- The object to compare with
def ==(other) self.eql?(other) || (other.respond_to?(:to_hash) && to_hash.eql?(other.to_hash)) end