Exception: HTRB::TagExistsError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/htrb/html_node.rb

Instance Method Summary collapse

Constructor Details

#initialize(symbol) ⇒ TagExistsError

Returns a new instance of TagExistsError.



178
179
180
# File 'lib/htrb/html_node.rb', line 178

def initialize(symbol)
  super "Can't add component, the method `#{symbol}` already exists"
end