class OpenXml::Docx::Properties::Numbering

Public Instance Methods

to_xml(xml) click to toggle source
# File lib/openxml/docx/properties/numbering.rb, line 12
def to_xml(xml)
  return unless render?
  xml["w"].public_send(tag) {
    xml_attributes.each do |tag_name, value|
      xml.public_send(tag_name, "w:val" => value)
    end
  }
end