mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
util/rubocop -A --only Style/SymbolProc
This commit is contained in:
parent
b304cf324a
commit
5211900d37
61 changed files with 239 additions and 295 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue