Class: OpenXml::Properties::TransparentContainerProperty

Inherits:
ContainerProperty show all
Defined in:
lib/openxml/properties/transparent_container_property.rb

Instance Attribute Summary

Attributes inherited from BaseProperty

#value

Instance Method Summary collapse

Methods inherited from ContainerProperty

#<<, child_class, #each, #initialize, #render?

Methods included from HasAttributes

#attributes, included, #render?, #required_attributes

Methods inherited from BaseProperty

#default_name, #default_tag, #initialize, #name, name, namespace, #namespace, #render?, tag, #tag, tag_is_one_of, #validate_tag

Constructor Details

This class inherits a constructor from OpenXml::Properties::ContainerProperty

Instance Method Details

#to_xml(xml) ⇒ Object



5
6
7
8
# File 'lib/openxml/properties/transparent_container_property.rb', line 5

def to_xml(xml)
  return unless render?
  each { |child| child.to_xml(xml) }
end