Exception: Pragma::Decorator::Association::AssociationNotFound
- Inherits:
-
ExpansionError
- Object
- StandardError
- ExpansionError
- Pragma::Decorator::Association::AssociationNotFound
- Defined in:
- lib/pragma/decorator/association/errors.rb
Overview
This is raised when a non-existing association is expanded.
Instance Attribute Summary collapse
-
#property ⇒ Object
readonly
Returns the value of attribute property.
Instance Method Summary collapse
-
#initialize(property) ⇒ AssociationNotFound
constructor
Initializes the rror.
Constructor Details
#initialize(property) ⇒ AssociationNotFound
Initializes the rror.
19 20 21 22 |
# File 'lib/pragma/decorator/association/errors.rb', line 19 def initialize(property) @property = property super "The '#{property}' association is not defined." end |
Instance Attribute Details
#property ⇒ Object (readonly)
Returns the value of attribute property.
14 15 16 |
# File 'lib/pragma/decorator/association/errors.rb', line 14 def property @property end |