Method: HTMLTree::Parser#tree
- Defined in:
- lib/html/tree.rb
#tree ⇒ Object
Return the tree that was built. This will be an HTMLTree::Element that represents the whole document. The <html> node is a child of this.
43 44 45 |
# File 'lib/html/tree.rb', line 43 def tree @rootNode end |