Class: EleetScript::TrueNode
- Inherits:
-
LiteralNode
- Object
- LiteralNode
- EleetScript::TrueNode
- Defined in:
- lib/lang/nodes.rb,
lib/lang/interpreter.rb
Instance Method Summary collapse
Methods inherited from LiteralNode
Instance Method Details
#eval(context) ⇒ Object
228 229 230 |
# File 'lib/lang/interpreter.rb', line 228 def eval(context) context.root_ns["true"] end |
#value ⇒ Object
53 54 55 |
# File 'lib/lang/nodes.rb', line 53 def value true end |