Sha256: ab9f2c8d5f1f73ef51c0bdb7676719a26126794c6fd47f849324b9e600d51c97
Contents?: true
Size: 682 Bytes
Versions: 4
Compression:
Stored size: 682 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
4 entries across 4 versions & 2 rubygems