class EleetScript::ElseNode
Public Instance Methods
eval(context)
click to toggle source
# File lib/lang/interpreter.rb, line 400 def eval(context) ret = body.eval(context) if body.returnable? and body.returned? body.reset_returned returned elsif body.nextable? && body.nexted? body.reset_nexted nexted return context.es_nil end ret end