Exception: PipeLineDealer::Error::InvalidAttribute
- Inherits:
-
PipeLineDealer::Error
- Object
- Exception
- PipeLineDealer::Error
- PipeLineDealer::Error::InvalidAttribute
- Defined in:
- lib/pipe_line_dealer/error/invalid_attribute.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#attribute_name ⇒ Object
readonly
Returns the value of attribute attribute_name.
Attributes inherited from PipeLineDealer::Error
Instance Method Summary collapse
-
#initialize(klass, attribute_name) ⇒ InvalidAttribute
constructor
A new instance of InvalidAttribute.
Methods inherited from PipeLineDealer::Error
Constructor Details
#initialize(klass, attribute_name) ⇒ InvalidAttribute
Returns a new instance of InvalidAttribute.
6 7 8 9 |
# File 'lib/pipe_line_dealer/error/invalid_attribute.rb', line 6 def initialize(klass, attribute_name) @klass = klass @attribute_name = attribute_name end |
Instance Attribute Details
#attribute_name ⇒ Object (readonly)
Returns the value of attribute attribute_name.
4 5 6 |
# File 'lib/pipe_line_dealer/error/invalid_attribute.rb', line 4 def attribute_name @attribute_name end |