Sha256: ce6bd0733a38c592fc0ac0072c8aaedee168be6079b88dbea2366fc8810e51f4
Contents?: true
Size: 612 Bytes
Versions: 6
Compression:
Stored size: 612 Bytes
Contents
# encoding: UTF-8 module Axlsx require 'axlsx/content_type/default.rb' require 'axlsx/content_type/override.rb' # ContentTypes used in the package. This is automatically managed by the package package. class ContentType < SimpleTypedList def initialize super [Override, Default] end # Serializes the object # @param [String] str # @return [String] def to_xml_string(str = '') str << '<?xml version="1.0" encoding="UTF-8"?>' str << '<Types xmlns="' << XML_NS_T << '">' each { |type| type.to_xml_string(str) } str << '</Types>' end end end
Version data entries
6 entries across 6 versions & 1 rubygems