Class: Malfunction::AttributeError
- Inherits:
-
Substance::InputObject
- Object
- Substance::InputObject
- Malfunction::AttributeError
- Defined in:
- lib/malfunction/attribute_error.rb
Instance Method Summary collapse
- #==(other) ⇒ Object (also: #eql?)
Instance Method Details
#==(other) ⇒ Object Also known as: eql?
10 11 12 |
# File 'lib/malfunction/attribute_error.rb', line 10 def ==(other) super || other.try(:attribute_name) == attribute_name && other.try(:error_code) == error_code end |