class OoxmlParser::LevelText

Class for storing Level Text, ‘lvlText` tag

Attributes

value[RW]

@return [String] value of start

Public Instance Methods

parse(node) click to toggle source

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

# File lib/ooxml_parser/docx_parser/document_structure/numbering/abstract_numbering/numbering_level/level_text.rb, line 12
def parse(node)
  node.attributes.each do |key, value|
    case key
    when 'val'
      @value = value.value.to_s
    end
  end
  self
end