Sha256: 4f7c8e90cd7c4d7c95c8b4ab21a03b35d4ec756ce1cd94c984b8c6d1af55c314
Contents?: true
Size: 633 Bytes
Versions: 33
Compression:
Stored size: 633 Bytes
Contents
# frozen_string_literal: true module OoxmlParser # Class for `x14:formula1` or `x14:formula2` data class DataValidationFormula < OOXMLDocumentObject # @return [Formula] value of formula attr_reader :formula # Parse DataValidationFormula data # @param [Nokogiri::XML:Element] node with DataValidationFormula data # @return [DataValidationFormula] value of DataValidationFormula data def parse(node) node.xpath('*').each do |node_child| case node_child.name when 'f' @formula = Formula.new(parent: self).parse(node_child) end end self end end end
Version data entries
33 entries across 33 versions & 1 rubygems