Class: OpenXml::Pptx::Properties::SimpleBooleanProperty

Inherits:
OpenXml::Properties::BooleanProperty
  • Object
show all
Defined in:
lib/openxml/pptx/properties/simple_boolean_property.rb

Direct Known Subclasses

SimplePropertyContainerProperty

Instance Method Summary collapse

Instance Method Details

#to_xml(xml) ⇒ Object



6
7
8
9
10
11
# File 'lib/openxml/pptx/properties/simple_boolean_property.rb', line 6

def to_xml(xml)
  return unless value
  apply_namespace(xml).public_send(tag) do
    yield xml if block_given?
  end
end