Class: Writeexcel::RootNode

Inherits:
Node
  • Object
show all
Defined in:
lib/writeexcel/excelformulaparser.rb

Overview

:nodoc:

Instance Method Summary collapse

Methods inherited from Node

#excelformulaparser_error, #exec_list

Constructor Details

#initialize(tree) ⇒ RootNode

Returns a new instance of RootNode


534
535
536
# File 'lib/writeexcel/excelformulaparser.rb', line 534

def initialize(tree)
   @tree = tree
end

Instance Method Details

#evaluateObject


538
539
540
# File 'lib/writeexcel/excelformulaparser.rb', line 538

def evaluate
   exec_list @tree
end