Sha256: 52cf3d5aeeea6a2f507e37471fe5e16d4498e3a446fd05e1f37cb88324168ea3
Contents?: true
Size: 644 Bytes
Versions: 4
Compression:
Stored size: 644 Bytes
Contents
require_relative 'blip_fill/blip' module OoxmlParser # Class for parsing `a:blipFill` tag class BlipFill < OOXMLDocumentObject attr_accessor :blip # @return [Stretch] attr_accessor :stretch # Parse BlipFill object # @param node [Nokogiri::XML:Element] node to parse # @return [BlipFill] result of parsing def parse(node) node.xpath('*').each do |node_child| case node_child.name when 'blip' @blip = Blip.new(parent: self).parse(node_child) when 'stretch' @stretch = Stretch.new(parent: self).parse(node_child) end end self end end end
Version data entries
4 entries across 4 versions & 1 rubygems