Exception: Kalimba::AttributeAssignmentError
- Inherits:
-
KalimbaError
- Object
- StandardError
- KalimbaError
- Kalimba::AttributeAssignmentError
- Defined in:
- lib/kalimba/exceptions.rb
Instance Attribute Summary collapse
-
#attribute ⇒ Object
readonly
Returns the value of attribute attribute.
-
#exception ⇒ Object
readonly
Returns the value of attribute exception.
Instance Method Summary collapse
-
#initialize(message, exception, attribute) ⇒ AttributeAssignmentError
constructor
A new instance of AttributeAssignmentError.
Constructor Details
#initialize(message, exception, attribute) ⇒ AttributeAssignmentError
Returns a new instance of AttributeAssignmentError.
6 7 8 9 10 |
# File 'lib/kalimba/exceptions.rb', line 6 def initialize(, exception, attribute) @exception = exception @attribute = attribute @message = end |
Instance Attribute Details
#attribute ⇒ Object (readonly)
Returns the value of attribute attribute.
5 6 7 |
# File 'lib/kalimba/exceptions.rb', line 5 def attribute @attribute end |
#exception ⇒ Object (readonly)
Returns the value of attribute exception.
5 6 7 |
# File 'lib/kalimba/exceptions.rb', line 5 def exception @exception end |