Method: ActiveModel::AttributeSet#==

Defined in:
activemodel/lib/active_model/attribute_set.rb

#==(other) ⇒ Object



106
107
108
# File 'activemodel/lib/active_model/attribute_set.rb', line 106

def ==(other)
  other.is_a?(AttributeSet) && attributes == other.send(:attributes)
end