Sha256: 3657f86e3055fde713e8ea267935d248128ab729ff4c5473a2657fa654aa608a

Contents?: true

Size: 681 Bytes

Versions: 1

Compression:

Stored size: 681 Bytes

Contents

# encoding: UTF-8
module Axlsx

  # An default content part. These parts are automatically created by for you based on the content of your package.
  class Default < AbstractContentType

    # The serialization node name for this class
    NODE_NAME = 'Default'

    # The extension of the content type.
    # @return [String]
    attr_reader :extension
    alias :Extension :extension

    # Sets the file extension for this content type.
    def extension=(v) Axlsx::validate_string v; @extension = v end
    alias :Extension= :extension=

    # Serializes this object to xml
    def to_xml_string(str ='')
      super(NODE_NAME, str)
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
caxlsx-3.2.0 lib/axlsx/content_type/default.rb