lib/toy/equality.rb in toystore-0.8.3 vs lib/toy/equality.rb in toystore-0.9.0

- old
+ new

@@ -1,6 +1,8 @@ module Toy module Equality + extend ActiveSupport::Concern + def eql?(other) return true if self.class.eql?(other.class) && id == other.id return true if other.respond_to?(:target) && self.class.eql?(other.target.class) && id == other.target.id \ No newline at end of file