Method: ActiveModel::Error#==
- Defined in:
- activemodel/lib/active_model/error.rb
#==(other) ⇒ Object Also known as: eql?
:nodoc:
190 191 192 |
# File 'activemodel/lib/active_model/error.rb', line 190 def ==(other) # :nodoc: other.is_a?(self.class) && attributes_for_hash == other.attributes_for_hash end |