mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 05:25:34 +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
|
@ -154,7 +154,7 @@ command help for an example.
|
|||
|
||||
specs = dependency.matching_specs
|
||||
|
||||
selected = specs.max_by {|s| s.version }
|
||||
selected = specs.max_by(&:version)
|
||||
|
||||
return Gem::RemoteFetcher.fetcher.download_to_cache(dependency) unless
|
||||
selected
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue