Class: EleetScript::StringNode
- Inherits:
-
LiteralNode
- Object
- LiteralNode
- EleetScript::StringNode
- Includes:
- Interpolatable
- Defined in:
- lib/lang/nodes.rb,
lib/lang/interpreter.rb
Constant Summary
Constants included from Interpolatable
Interpolatable::INTERPOLATE_RX
Instance Method Summary collapse
Methods included from Interpolatable
Methods inherited from LiteralNode
Instance Method Details
#eval(context) ⇒ Object
126 127 128 |
# File 'lib/lang/interpreter.rb', line 126 def eval(context) context.root_ns["String"].new_with_value(interpolate(value, context), context.namespace_context) end |