Exception: Configuration::UnexpectedAttributesError

Inherits:
SyntaxError
  • Object
show all
Defined in:
lib/httpimagestore/configuration.rb

Instance Method Summary collapse

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