lib/domain/support/equalizer.rb in domain-1.0.0.rc3 vs lib/domain/support/equalizer.rb in domain-1.0.0.rc4
- old
+ new
@@ -26,10 +26,10 @@
#
# @return Integer
#
# @api public
def hash
- equality_components.map{|c| c.hash }.reduce(self.class.hash, :^)
+ equality_components.map{|c| c.hash }.reduce(Object.hash, :^)
end
# Compare the object with other object for equivalency
#
# @example