module TaskBag
Constants
- VERSION
Public Class Methods
work(nworkers) { |bag| ... }
click to toggle source
# File lib/taskbag.rb, line 6 def self.work(nworkers) bag = Bag.open(nworkers) yield bag bag.close! end