Module: Trxl::ToFloatFunction1

Defined in:
lib/trxl/trxl_grammar.rb

Instance Method Summary collapse

Instance Method Details

#eval(env = Environment.new) ⇒ Object



5921
5922
5923
# File 'lib/trxl/trxl_grammar.rb', line 5921

def eval(env = Environment.new)
  expression.eval(env).to_f
end