Sha256: e158b401ae72cd9d569d30fca237a4e54ac81ddc05c931a0d1d9de13ddd331cb
Contents?: true
Size: 553 Bytes
Versions: 2
Compression:
Stored size: 553 Bytes
Contents
# frozen_string_literal: true module OoxmlParser # Class for `x14:dataField` data class X14DataField < OOXMLDocumentObject # @return [Symbol] pivot show as type attr_reader :pivot_show_as # Parse X14DataField data # @param [Nokogiri::XML:Element] node with X14DataField data # @return [X14Table] value of X14DataField data def parse(node) node.attributes.each do |key, value| case key when 'pivotShowAs' @pivot_show_as = value.value.to_sym end end self end end end
Version data entries
2 entries across 2 versions & 1 rubygems