Method: Extract::Tree::Math#eval

Defined in:
lib/extract/tree/math.rb

#evalObject



91
92
93
94
95
# File 'lib/extract/tree/math.rb', line 91

def eval
  #puts "evaling #{text_value}"
  #raise tokens.map { |x| x.text_value }.inspect + "\n" + inspect
  MathCalc.parse_eval(tokens)
end