Sha256: 11babbc465ff7dfaca8d7d95dff8407581d9a200ae4e17fbdfc661708611b92b
Contents?: true
Size: 511 Bytes
Versions: 8
Compression:
Stored size: 511 Bytes
Contents
# frozen_string_literal: true module OoxmlParser # Class for parsing `c:chart` object class ChartReference < OOXMLDocumentObject # @return [String] id of the chart attr_reader :id # Parse ChartReference # @param [Nokogiri::XML:Node] node with ChartReference # @return [ChartReference] result of parsing def parse(node) node.attributes.each do |key, value| case key when 'id' @id = value.value.to_s end end self end end end
Version data entries
8 entries across 8 versions & 1 rubygems