Module: OpenXml::ContainsProperties::InstanceMethods

Defined in:
lib/openxml/contains_properties.rb

Instance Method Summary collapse

Instance Method Details

#properties_attributesObject



22
23
24
# File 'lib/openxml/contains_properties.rb', line 22

def properties_attributes
  {}
end

#property_xml(xml) ⇒ Object



15
16
17
18
19
20
# File 'lib/openxml/contains_properties.rb', line 15

def property_xml(xml)
  ensure_required_choices
  props = active_properties
  return unless render_properties? props
  props.each { |prop| prop.to_xml(xml) }
end