class OoxmlParser::Scaling

Parsing Scaling tag 'scaling'

Attributes

orientation[R]

@return [ValuedChild] orientation value

Public Instance Methods

parse(node) click to toggle source

Parse Scaling object @param node [Nokogiri::XML:Element] node to parse @return [Scaling] result of parsing

# File lib/ooxml_parser/common_parser/common_data/alternate_content/chart/chart_axis/scaling.rb, line 12
def parse(node)
  node.xpath('*').each do |node_child|
    case node_child.name
    when 'orientation'
      @orientation = ValuedChild.new(:symbol, parent: self).parse(node_child)
    end
  end
  self
end