Class: Nydp::Cond_LEX_LIT_LIT
Overview
(def no (arg) (cond arg nil t))
Instance Method Summary collapse
Methods inherited from CondBase
#initialize, #inspect, #lexical_reach, #to_s
Methods included from Helper
#cons, #list, #literal?, #pair?, #sig, #sym, #sym?
Methods included from Converter
Constructor Details
This class inherits a constructor from Nydp::CondBase
Instance Method Details
#execute(vm) ⇒ Object
157 158 159 |
# File 'lib/nydp/cond.rb', line 157 def execute vm (@condition.value vm.current_context) ? @when_true : @when_false end |