Sha256: 15ce51b69009563e4b2d439b3b173382f4f3beb5619e0a6cfc45ae6b5f55367e
Contents?: true
Size: 484 Bytes
Versions: 3
Compression:
Stored size: 484 Bytes
Contents
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
3 entries across 3 versions & 1 rubygems