Method: ActiveModel::Validations::AcceptanceValidator::LazilyDefineAttributes#==

Defined in:
activemodel/lib/active_model/validations/acceptance.rb

#==(other) ⇒ Object



73
74
75
# File 'activemodel/lib/active_model/validations/acceptance.rb', line 73

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