Sha256: a1322aa51b7cb59839eaeab195fd12c0d5e4ec7c4cfdb4623aea08a816204c9a
Contents?: true
Size: 291 Bytes
Versions: 3
Compression:
Stored size: 291 Bytes
Contents
module Iolite module Functinal def invoke func, *args func.respond_to?(:iolite_functinal_invoke_call) ? func.iolite_functinal_invoke_call(*args) : func end module_function :invoke def invoke_a funcs, *args funcs.map{ |it| invoke(it, *args) } end module_function :invoke_a end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
iolite-0.0.3 | lib/iolite/functinal/invoke.rb |
iolite-0.0.2 | lib/iolite/functinal/invoke.rb |
iolite-0.0.1 | lib/iolite/functinal/invoke.rb |