Class: EleetScript::FalseNode

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

Instance Method Summary collapse

Methods inherited from LiteralNode

#to_s

Instance Method Details

#eval(context) ⇒ Object



234
235
236
# File 'lib/lang/interpreter.rb', line 234

def eval(context)
  context.root_ns["false"]
end

#valueObject



59
60
61
# File 'lib/lang/nodes.rb', line 59

def value
  false
end