Exception: PipeLineDealer::Error::InvalidAttributeName
- Inherits:
-
InvalidAttribute
- Object
- Exception
- PipeLineDealer::Error
- InvalidAttribute
- PipeLineDealer::Error::InvalidAttributeName
- Defined in:
- lib/pipe_line_dealer/error/invalid_attribute.rb
Instance Attribute Summary
Attributes inherited from InvalidAttribute
Attributes inherited from PipeLineDealer::Error
Instance Method Summary collapse
-
#initialize(klass, attribute_name) ⇒ InvalidAttributeName
constructor
A new instance of InvalidAttributeName.
Methods inherited from PipeLineDealer::Error
Constructor Details
#initialize(klass, attribute_name) ⇒ InvalidAttributeName
Returns a new instance of InvalidAttributeName.
13 14 15 16 |
# File 'lib/pipe_line_dealer/error/invalid_attribute.rb', line 13 def initialize(klass, attribute_name) super @message = "The attribute #{attribute_name.inspect} is not known by #{klass.inspect}!" end |