class OpenXml::Docx::Properties::ComplexProperty
Public Instance Methods
render?()
click to toggle source
# File lib/openxml/docx/properties/complex_property.rb, line 14 def render? !xml_attributes.empty? end
to_xml(xml)
click to toggle source
# File lib/openxml/docx/properties/complex_property.rb, line 9 def to_xml(xml) return unless render? xml[namespace].public_send(tag, xml_attributes) end