class OoxmlParser::Wheel

Class for Wheel Slide Transition ‘p:wheel` tag

Attributes

spokes[R]

@return [Integer] count of spokes

Public Instance Methods

parse(node) click to toggle source

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

# File lib/ooxml_parser/pptx_parser/presentation/slide/transition/transition_properties/transition_properties/wheel.rb, line 12
def parse(node)
  node.attributes.each do |key, value|
    case key
    when 'spokes'
      @spokes = value.value.to_i
    end
  end
  self
end