Class: Docxtor::Document::Root

Inherits:
Element
  • Object
show all
Defined in:
lib/docxtor/document/root.rb

Instance Attribute Summary

Attributes inherited from Element

#elements, #xml

Instance Method Summary collapse

Methods inherited from Element

#initialize, map, #method_missing

Constructor Details

This class inherits a constructor from Docxtor::Document::Element

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Docxtor::Document::Element

Instance Method Details

#render(xml) ⇒ Object



10
11
12
13
14
# File 'lib/docxtor/document/root.rb', line 10

def render(xml)
  super
  write_elements
  xml.target!
end