class OoxmlParser::NaryGrow

Class for parsing ‘m:grow` object

Attributes

value[RW]

@return [String] value of grow

Public Instance Methods

parse(node) click to toggle source

Parse NaryGrow @param [Nokogiri::XML:Node] node with NaryGrow @return [NaryGrow] result of parsing

# File lib/ooxml_parser/docx_parser/document_structure/docx_paragraph/docx_formula/nary/nary_properties/nary_grow.rb, line 12
def parse(node)
  node.attributes.each do |key, value|
    case key
    when 'val'
      @value = value.value
    end
  end
  self
end