Class: EleetScript::SetGlobalNode
- Inherits:
-
SetVarNode
- Object
- SetVarNode
- EleetScript::SetGlobalNode
- Defined in:
- lib/lang/nodes.rb,
lib/lang/interpreter.rb
Instance Method Summary collapse
Methods inherited from SetVarNode
Instance Method Details
#eval(context) ⇒ Object
159 160 161 |
# File 'lib/lang/interpreter.rb', line 159 def eval(context) context[name] = value.eval(context) end |