Class: Sol::TrueNode
- Inherits:
-
LiteralNode
- Object
- Struct
- LiteralNode
- Sol::TrueNode
- 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 ⇒ TrueNode
constructor
A new instance of TrueNode.
Constructor Details
#initialize ⇒ TrueNode
Returns a new instance of TrueNode.
26 27 28 29 30 |
# File 'lib/sol/nodes.rb', line 26 def initialize super(true) end |
Instance Method Details
#eval(context) ⇒ Object
67 68 69 70 71 |
# File 'lib/sol/interpreter.rb', line 67 def eval(context) RuntimeModel::Runtime["true"] end |