Classes: If, IfThenElse
44 45 46
# File 'lib/iolite/statement/if.rb', line 44 def if_ cond If.new cond end
2 3 4 5 6 7 8 9 10
# File 'lib/iolite/statement/if_else.rb', line 2 def if_else cond, then_, else_ Lazy.new { |*args| if Functinal.invoke(cond, *args) Functinal.invoke(then_, *args) else Functinal.invoke(else_, *args) end } end