diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-03-16 12:57:49 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-03-17 18:50:55 +0900 |
commit | 5211900d37573a82c1bdf7cb2354937cc4022ae1 (patch) | |
tree | 4951c15df9b302437b4ff173fe30fb5e211bd1fb /lib/rubygems/request | |
parent | b304cf324aed40977665ddcfcec7cc992feb949b (diff) |
util/rubocop -A --only Style/SymbolProc
Diffstat (limited to 'lib/rubygems/request')
-rw-r--r-- | lib/rubygems/request/connection_pools.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/request/connection_pools.rb b/lib/rubygems/request/connection_pools.rb index 38f8db4ce0..b7ad92f5c6 100644 --- a/lib/rubygems/request/connection_pools.rb +++ b/lib/rubygems/request/connection_pools.rb @@ -28,7 +28,7 @@ class Gem::Request::ConnectionPools # :nodoc: end def close_all - @pools.each_value {|pool| pool.close_all } + @pools.each_value(&:close_all) end private |