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