Module: Trxl::EnvFunction3

Defined in:
lib/trxl/trxl_grammar.rb

Instance Method Summary collapse

Instance Method Details

#eval(env = Environment.new) ⇒ Object



5150
5151
5152
# File 'lib/trxl/trxl_grammar.rb', line 5150

def eval(env = Environment.new)
  env[expression.eval(env).to_sym]
end