class Pragma::Decorator::Association::AssociationNotFound
This is raised when a non-existing association is expanded.
Attributes
property[R]
@!attribute [r] property
@return [String|Sybmol] the property the user tried to expand
Public Class Methods
new(property)
click to toggle source
Initializes the rror.
@param property [String|Symbol] the property the user tried to expand
Calls superclass method
# File lib/pragma/decorator/association/errors.rb, line 19 def initialize(property) @property = property super "The '#{property}' association is not defined." end