Sha256: 98b149e03ff051d5b888978f2884cb67b7fbd0f3e520f2b782547d3c43e4bae9
Contents?: true
Size: 530 Bytes
Versions: 3
Compression:
Stored size: 530 Bytes
Contents
# frozen_string_literal: true module OoxmlParser # Class for data from `Default` tag class ContentTypeDefault < OOXMLDocumentObject # @return [String] content type attr_reader :content_type # @return [String] extension attr_reader :extension def parse(node) node.attributes.each do |key, value| case key when 'ContentType' @content_type = value.value.to_s when 'Extension' @extension = value.value.to_s end end self end end end
Version data entries
3 entries across 3 versions & 1 rubygems