Sha256: 03d39018865653a32fd7797a548b996cdf950926f6c0d3a50ece6df3a1d08adb
Contents?: true
Size: 185 Bytes
Versions: 1
Compression:
Stored size: 185 Bytes
Contents
module Concurrent def concurrent(*lambdas) threads = [] lambdas.each do |l| threads << Thread.new do l.() end end threads.each(&:join) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
materialize-0.2.4 | lib/materialize/concurrent.rb |