class Array
Public Instance Methods
peach(&block)
click to toggle source
# File lib/continuent-tools-core.rb, line 276 def peach(&block) threads = [] self.each{ |i| threads << Thread.new(i) { |member| block.call(member) } } threads.each{|t| t.join() } self end