Method: Webgen::Tree#dummy_root

Defined in:
lib/webgen/tree.rb

#dummy_rootObject (readonly)

The dummy root.

This is the default node that gets created when the Tree is created so that the real root node can be treated like any other node. It has only one child, namely the real root node of the tree.



15
16
17
# File 'lib/webgen/tree.rb', line 15

def dummy_root
  @dummy_root
end