Exception: SmartProperties::AssignmentError
- Defined in:
- lib/smart_properties/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#property ⇒ Object
Returns the value of attribute property.
-
#sender ⇒ Object
Returns the value of attribute sender.
Instance Method Summary collapse
-
#initialize(sender, property, message) ⇒ AssignmentError
constructor
A new instance of AssignmentError.
Constructor Details
#initialize(sender, property, message) ⇒ AssignmentError
Returns a new instance of AssignmentError.
9 10 11 12 13 |
# File 'lib/smart_properties/errors.rb', line 9 def initialize(sender, property, ) @sender = sender @property = property super() end |
Instance Attribute Details
#property ⇒ Object
Returns the value of attribute property.
7 8 9 |
# File 'lib/smart_properties/errors.rb', line 7 def property @property end |
#sender ⇒ Object
Returns the value of attribute sender.
6 7 8 |
# File 'lib/smart_properties/errors.rb', line 6 def sender @sender end |