Exception: Configuration::BadAttributeValueError
- Inherits:
-
SyntaxError
- Object
- ArgumentError
- SyntaxError
- Configuration::BadAttributeValueError
- Defined in:
- lib/httpimagestore/configuration.rb
Instance Method Summary collapse
-
#initialize(node, attribute, value, valid) ⇒ BadAttributeValueError
constructor
A new instance of BadAttributeValueError.
Constructor Details
#initialize(node, attribute, value, valid) ⇒ BadAttributeValueError
Returns a new instance of BadAttributeValueError.
27 28 29 |
# File 'lib/httpimagestore/configuration.rb', line 27 def initialize(node, attribute, value, valid) super node, "expected '#{attribute}' attribute value to be #{valid.map(&:inspect).join(' or ')}; got: #{value.inspect}" end |