Class: Sol::FalseNode
- Inherits:
-
LiteralNode
- Object
- Struct
- LiteralNode
- Sol::FalseNode
- Defined in:
- lib/sol/nodes.rb,
lib/sol/interpreter.rb
Instance Attribute Summary
Attributes inherited from LiteralNode
Instance Method Summary collapse
- #eval(context) ⇒ Object
-
#initialize ⇒ FalseNode
constructor
A new instance of FalseNode.
Constructor Details
#initialize ⇒ FalseNode
Returns a new instance of FalseNode.
36 37 38 39 40 |
# File 'lib/sol/nodes.rb', line 36 def initialize super(false) end |
Instance Method Details
#eval(context) ⇒ Object
77 78 79 80 81 |
# File 'lib/sol/interpreter.rb', line 77 def eval(context) RuntimeModel::Runtime["false"] end |