Method: HTMLTree::Parser#reset
- Defined in:
- lib/html/tree.rb
#reset ⇒ Object
Reset this parser so that it can parse a new document.
36 37 38 39 |
# File 'lib/html/tree.rb', line 36 def reset super @rootNode = @currentNode = Document.new end |