Exception: Configuration::UnexpectedAttributesError
- Inherits:
-
SyntaxError
- Object
- ArgumentError
- SyntaxError
- Configuration::UnexpectedAttributesError
- Defined in:
- lib/httpimagestore/configuration.rb
Instance Method Summary collapse
-
#initialize(node, attributes) ⇒ UnexpectedAttributesError
constructor
A new instance of UnexpectedAttributesError.
Constructor Details
#initialize(node, attributes) ⇒ UnexpectedAttributesError
Returns a new instance of UnexpectedAttributesError.
39 40 41 |
# File 'lib/httpimagestore/configuration.rb', line 39 def initialize(node, attributes) super node, "unexpected attributes: #{attributes.keys.map{|a| "'#{a}'"}.join(', ')}" end |