class OoxmlParser::NaryLimitLocation

Class for parsing `m:limLoc` object

Attributes

value[RW]

@return [String] value of limit location

Public Instance Methods

parse(node) click to toggle source

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

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