Sha256: 87e212f740b0a327dc0e0073e9b4a623d914151ffb35a6b4c399ec7804190e17
Contents?: true
Size: 515 Bytes
Versions: 48
Compression:
Stored size: 515 Bytes
Contents
# frozen_string_literal: true module OoxmlParser # Class for parsing `oleObjects` class OleObjects < OOXMLDocumentObject # Parse OleObjects object # @param node [Nokogiri::XML:Element] node to parse # @return [Array] list of OleObjects def parse(node) list = [] node.xpath('*').each do |node_child| case node_child.name when 'AlternateContent' list << AlternateContent.new(parent: self).parse(node_child) end end list end end end
Version data entries
48 entries across 48 versions & 1 rubygems