Sha256: 4be079a93b1001ea6638dcc024cc136f6cb0fc4ec6be3c9a4c50dc07e9feac14

Contents?: true

Size: 323 Bytes

Versions: 2

Compression:

Stored size: 323 Bytes

Contents

module OpenXml
  module Pptx
    module Properties
      class SimpleBooleanProperty < OpenXml::Properties::BooleanProperty

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

      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openxml-pptx-0.2.2 lib/openxml/pptx/properties/simple_boolean_property.rb
openxml-pptx-0.2.0 lib/openxml/pptx/properties/simple_boolean_property.rb