Class: Sol::TrueNode

Inherits:
LiteralNode show all
Defined in:
lib/sol/nodes.rb,
lib/sol/interpreter.rb

Instance Attribute Summary

Attributes inherited from LiteralNode

#value

Instance Method Summary collapse

Constructor Details

#initializeTrueNode

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