Class: RootNode

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

Instance Method Summary collapse

Methods inherited from Node

#excelformulaparser_error, #exec_list

Constructor Details

#initialize(tree) ⇒ RootNode

Returns a new instance of RootNode.



518
519
520
# File 'lib/WriteExcel/excelformulaparser.rb', line 518

def initialize(tree)
   @tree = tree
end

Instance Method Details

#evaluateObject



522
523
524
# File 'lib/WriteExcel/excelformulaparser.rb', line 522

def evaluate
   exec_list @tree
end