Sha256: 23791ae202115d44fe77283ab5ebd1bc1557bb7e138f1920fe90fb4b1985527e
Contents?: true
Size: 667 Bytes
Versions: 1
Compression:
Stored size: 667 Bytes
Contents
# frozen_string_literal: true 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-4.0.0 | lib/axlsx/content_type/default.rb |