diff options
author | Samuel E. Giddins <segiddins@segiddins.me> | 2015-07-15 20:51:16 -0700 |
---|---|---|
committer | Samuel E. Giddins <segiddins@segiddins.me> | 2015-07-15 20:51:16 -0700 |
commit | af694073229af89af205d24ff449f51f74316a37 (patch) | |
tree | 5258cd3a3832bcc21eaa3249c99cdf410a8f9d0a /lib/bundler/worker.rb | |
parent | c85c0c9c642dcdccb7d769d7d9a56d51ad314915 (diff) | |
download | bundler-af694073229af89af205d24ff449f51f74316a37.tar.gz |
[RuboCop] Enable Style/SymbolProc
Diffstat (limited to 'lib/bundler/worker.rb')
-rw-r--r-- | lib/bundler/worker.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/worker.rb b/lib/bundler/worker.rb index d5d3b19508..531e597915 100644 --- a/lib/bundler/worker.rb +++ b/lib/bundler/worker.rb @@ -61,11 +61,11 @@ module Bundler # so as worker threads after retrieving it, shut themselves down def stop_threads @threads.each { @request_queue.enq POISON } - @threads.each { |thread| thread.join } + @threads.each(&:join) end def abort_threads - @threads.each {|i| i.exit } + @threads.each(&:exit) exit 1 end end |