lib/avromatic/model/value_object.rb in avromatic-0.9.0.rc1 vs lib/avromatic/model/value_object.rb in avromatic-0.9.0.rc2
- old
+ new
@@ -1,7 +1,6 @@
module Avromatic
module Model
-
# This module is used to override the comparisons defined by
# Virtus::Equalizer which is pulled in by Virtus::ValueObject.
module ValueObject
def eql?(other)
other.instance_of?(self.class) && attributes == other.attributes