Class: Tumblargh::Node::Root
- Defined in:
- lib/tumblargh/node/root.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#to_s ⇒ Object
10 11 12 |
# File 'lib/tumblargh/node/root.rb', line 10 def to_s elements.map(&:to_s).join '' end |
#to_tree ⇒ Object
6 7 8 |
# File 'lib/tumblargh/node/root.rb', line 6 def to_tree elements.map(&:to_tree) end |