Class: Malfunction::AttributeError

Inherits:
Substance::InputObject
  • Object
show all
Defined in:
lib/malfunction/attribute_error.rb

Instance Method Summary collapse

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