Exception: Albacore::UnfilledPropertyError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/albacore/errors/unfilled_property_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(property, message) ⇒ UnfilledPropertyError

Returns a new instance of UnfilledPropertyError.



6
7
8
9
# File 'lib/albacore/errors/unfilled_property_error.rb', line 6

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

Instance Attribute Details

#propertyObject

Returns the value of attribute property.



5
6
7
# File 'lib/albacore/errors/unfilled_property_error.rb', line 5

def property
  @property
end

Instance Method Details

#messageObject



10
11
12
# File 'lib/albacore/errors/unfilled_property_error.rb', line 10

def message
  %Q{The property "#{property}"; #{message}}
end