Class: EleetScript::GetGlobalNode
- Inherits:
-
GetVarNode
- Object
- GetVarNode
- EleetScript::GetGlobalNode
- Defined in:
- lib/lang/nodes.rb,
lib/lang/interpreter.rb
Instance Method Summary collapse
Methods inherited from GetVarNode
Instance Method Details
#eval(context) ⇒ Object
165 166 167 |
# File 'lib/lang/interpreter.rb', line 165 def eval(context) context[name] end |