class OoxmlParser::ColumnRowItem

Class for parsing <i> tag

Attributes

type[R]

@return [Symbol] type of item

Public Instance Methods

parse(node) click to toggle source

Parse `<location>` tag @param [Nokogiri::XML:Element] node with location data @return [Location]

# File lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/pivot_table_definition/column_row_items/column_row_item.rb, line 12
def parse(node)
  node.attributes.each do |key, value|
    case key
    when 't'
      @type = value.value.to_sym
    end
  end
  self
end