Sha256: 443946b63b2b097a6eb42b89da0356b65ab7ba04acc03229b85ab6a963ab5622
Contents?: true
Size: 494 Bytes
Versions: 4
Compression:
Stored size: 494 Bytes
Contents
module OoxmlParser # Class for working with `a:prstClr` tag class PresetColor < OOXMLDocumentObject # @return [String] value of preset color attr_accessor :value # Parse PresetColor object # @param node [Nokogiri::XML:Element] node to parse # @return [PresetColor] result of parsing def parse(node) node.attributes.each do |key, value| case key when 'val' @value = value.value.to_s end end self end end end
Version data entries
4 entries across 4 versions & 1 rubygems