Exception: Rook::Util::UndefinedPropertyError

Inherits:
RookError
  • Object
show all
Defined in:
lib/rook/util.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, property) ⇒ UndefinedPropertyError

Returns a new instance of UndefinedPropertyError.



22
23
24
25
# File 'lib/rook/util.rb', line 22

def initialize(message, property)
  super(message)
  @property = property
end

Instance Attribute Details

#propertyObject (readonly)

Returns the value of attribute property.



26
27
28
# File 'lib/rook/util.rb', line 26

def property
  @property
end