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