Module: Goldendocx::Document
- Extended by:
- ActiveSupport::Concern
- Includes:
- Element
- Included in:
- Components::Chart, Goldendocx::Documents::Document, Goldendocx::Documents::Settings, Goldendocx::Documents::Styles, Models::Relationships, Parts::App, Parts::ContentTypes, Parts::Core
- Defined in:
- lib/goldendocx/document.rb
Instance Method Summary collapse
Methods included from Element
#build_element, #initialize, #namespace, #tag, #tag_name, #to_element, #to_xml
Methods included from HasChildren
#children, #read_child, #read_children
Methods included from HasAttributes
#assign_attributes, #attributes, #read_attributes
Instance Method Details
#to_document_xml ⇒ Object
28 29 30 |
# File 'lib/goldendocx/document.rb', line 28 def to_document_xml(&) Goldendocx.xml_serializer.build_document_xml(tag_name, concerned_namespaces, ignorable_namespaces) { |xml| build_element(xml, &) } end |