mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 13:34:17 +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
|
@ -137,7 +137,7 @@ that is a dependency of an existing gem. You can use the
|
|||
end
|
||||
|
||||
def uninstall_all
|
||||
specs = Gem::Specification.reject {|spec| spec.default_gem? }
|
||||
specs = Gem::Specification.reject(&:default_gem?)
|
||||
|
||||
specs.each do |spec|
|
||||
options[:version] = spec.version
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue