Sha256: f09f008ab98ed360016926e1db2f5c153dcef000f9c744da7c689f4a7501393d
Contents?: true
Size: 636 Bytes
Versions: 2
Compression:
Stored size: 636 Bytes
Contents
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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
caxlsx-3.4.1 | lib/axlsx/content_type/default.rb |
caxlsx-3.4.0 | lib/axlsx/content_type/default.rb |