Method: Commutator::Model#==

Defined in:
lib/commutator/model.rb

#==(other) ⇒ Object



93
94
95
96
97
98
# File 'lib/commutator/model.rb', line 93

def ==(other)
  self.class == other.class &&
    primary_key_hash == other.primary_key_hash &&
    primary_key_range == other.primary_key_range &&
    attributes == other.attributes
end