Sha256: b7655611db72db9661e5a794b66b51497d2a198efec9f6528d4bcd723bddaf04
Contents?: true
Size: 746 Bytes
Versions: 4
Compression:
Stored size: 746 Bytes
Contents
# frozen_string_literal: true require_relative 'series_text/number_string_reference' module OoxmlParser # Class for parsing `c:tx` object class SeriesText < OOXMLDocumentObject # @return [NumberStringReference] String reference of series attr_accessor :reference # Parse Order # @param [Nokogiri::XML:Node] node with Order # @return [Order] result of parsing def parse(node) node.xpath('*').each do |series_child| case series_child.name when 'strRef', 'numRef' @reference = NumberStringReference.new(parent: self).parse(series_child) end end self end alias string reference extend Gem::Deprecate deprecate :string, 'reference', 2069, 1 end end
Version data entries
4 entries across 4 versions & 1 rubygems