diff options
author | Hiroshi SHIBATA <[email protected]> | 2023-03-16 12:57:49 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-03-17 18:50:55 +0900 |
commit | 5211900d37573a82c1bdf7cb2354937cc4022ae1 (patch) | |
tree | 4951c15df9b302437b4ff173fe30fb5e211bd1fb /lib/rubygems/source/local.rb | |
parent | b304cf324aed40977665ddcfcec7cc992feb949b (diff) |
util/rubocop -A --only Style/SymbolProc
Diffstat (limited to 'lib/rubygems/source/local.rb')
-rw-r--r-- | lib/rubygems/source/local.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/source/local.rb b/lib/rubygems/source/local.rb index e8553a4289..0007b39bee 100644 --- a/lib/rubygems/source/local.rb +++ b/lib/rubygems/source/local.rb @@ -92,7 +92,7 @@ class Gem::Source::Local < Gem::Source end end - found.max_by {|s| s.version } + found.max_by(&:version) end def fetch_spec(name) # :nodoc: |