Sha256: a98911add0438e92389047586f2be63bfabb459b4b85c80b4ab2a43674f35250

Contents?: true

Size: 222 Bytes

Versions: 1

Compression:

Stored size: 222 Bytes

Contents

module Iolite module Statement
	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
end end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
iolite-0.0.1 lib/iolite/statement/if_else.rb