Exception: HTRB::TagExistsError
- Inherits:
-
StandardError
- Object
- StandardError
- HTRB::TagExistsError
- Defined in:
- lib/htrb/html_node.rb
Instance Method Summary collapse
-
#initialize(symbol) ⇒ TagExistsError
constructor
A new instance of TagExistsError.
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 |