Exception: Envandle::UnsupportedElement

Inherits:
NotImplementedError
  • Object
show all
Defined in:
lib/envandle/unsupported_element.rb

Direct Known Subclasses

Elements::SourceBlock

Instance Method Summary collapse

Constructor Details

#initialize(loc) ⇒ UnsupportedElement

Returns a new instance of UnsupportedElement.

Raises:

  • (self)


3
4
5
6
# File 'lib/envandle/unsupported_element.rb', line 3

def initialize(loc, *)
  super "Unsupported element: #{type} (#{loc})"
  raise self
end