Sha256: 7801ec2db25f5356e3b77d58b83799449b1233a0763775651a2eb09a9bf25f2f

Contents?: true

Size: 656 Bytes

Versions: 25

Compression:

Stored size: 656 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

25 entries across 25 versions & 6 rubygems

Version Path
caxlsx-3.3.0 lib/axlsx/content_type/default.rb
caxlsx-3.1.1 lib/axlsx/content_type/default.rb
caxlsx-3.1.0 lib/axlsx/content_type/default.rb
bonio-axlsx-2.2.3 lib/axlsx/content_type/default.rb
caxlsx-3.0.4 lib/axlsx/content_type/default.rb
caxlsx-3.0.3 lib/axlsx/content_type/default.rb
caxlsx-3.0.2 lib/axlsx/content_type/default.rb
caxlsx-2.0.2 lib/axlsx/content_type/default.rb
caxlsx-3.0.1 lib/axlsx/content_type/default.rb
caxlsx-3.0.0 lib/axlsx/content_type/default.rb
axlsx-alt-3.0.1 lib/axlsx/content_type/default.rb
axlsx-alt-3.0.0 lib/axlsx/content_type/default.rb
axlsx-3.0.0.pre lib/axlsx/content_type/default.rb
bonio-axlsx-2.2.2 lib/axlsx/content_type/default.rb
bonio-axlsx-2.2.1 lib/axlsx/content_type/default.rb
dg-axlsx-2.1.0 lib/axlsx/content_type/default.rb
axlsx-2.1.0.pre lib/axlsx/content_type/default.rb
l_axlsx-2.0.1 lib/axlsx/content_type/default.rb
axlsx-2.0.1 lib/axlsx/content_type/default.rb
axlsx-2.0.0 lib/axlsx/content_type/default.rb