Sha256: 101efbd5cb8a2ff4473895501eb734b2d3fe761c0e0052d6bbdffc3348567d45
Contents?: true
Size: 546 Bytes
Versions: 4
Compression:
Stored size: 546 Bytes
Contents
require_relative 'choice/math_text' module OoxmlParser # Class for storing choice (for office 2014 and newer) # graphic data class Choice < OOXMLDocumentObject attr_accessor :math_text # Parse Choice object # @param node [Nokogiri::XML:Element] node to parse # @return [Choice] result of parsing def parse(node) node.xpath('*').each do |node_child| case node_child.name when 'm' @math_text = MathText.new(parent: self).parse(node_child) end end self end end end
Version data entries
4 entries across 4 versions & 1 rubygems