Exception: Envandle::IllegalElement
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Envandle::IllegalElement
- Defined in:
- lib/envandle/illegal_element.rb
Direct Known Subclasses
Elements::GemBlock, Elements::GitSource, Elements::Group, GemspecBlock
Instance Method Summary collapse
-
#initialize(loc) ⇒ IllegalElement
constructor
A new instance of IllegalElement.
Constructor Details
#initialize(loc) ⇒ IllegalElement
Returns a new instance of IllegalElement.
3 4 5 6 |
# File 'lib/envandle/illegal_element.rb', line 3 def initialize(loc, *) super "Illegal element: #{type} (#{loc})" raise self end |