Class: NumberNode
Instance Method Summary collapse
- #evaluate ⇒ Object
-
#initialize(val) ⇒ NumberNode
constructor
A new instance of NumberNode.
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
#evaluate ⇒ Object
552 553 554 |
# File 'lib/WriteExcel/excelformulaparser.rb', line 552 def evaluate p @val end |