Class: NumberNode

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(val) ⇒ NumberNode

Returns a new instance of NumberNode.



548
549
550
# File 'lib/WriteExcel/excelformulaparser.rb', line 548

def initialize(val)
   @val = val
end

Instance Method Details

#evaluateObject



552
553
554
# File 'lib/WriteExcel/excelformulaparser.rb', line 552

def evaluate
   p @val
end