mirror of
https://github.com/lloeki/normandy.git
synced 2025-12-06 10:04:39 +01:00
bumping rubocop
This commit is contained in:
parent
eaa832524e
commit
1fe647876a
6 changed files with 48 additions and 25 deletions
|
|
@ -7,9 +7,9 @@ require 'channel/waitgroup'
|
|||
|
||||
class TestWaitGroup < Test::Unit::TestCase
|
||||
module Util
|
||||
def meanwhile(*procs, &blk)
|
||||
def meanwhile(*procs)
|
||||
threads = procs.map { |p| Thread.new(&p) }
|
||||
blk.call
|
||||
yield
|
||||
threads.each(&:join)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue