Enable Style/EmptyLinesAroundClassBody rubocop cop.
This commit is contained in:
Hiroshi SHIBATA 2020-09-23 21:02:56 +09:00
parent f56fc720ee
commit 31a6eaabc1
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2
274 changed files with 672 additions and 0 deletions

View file

@ -17,6 +17,7 @@ require 'rubygems/deprecate'
# this class necessary anymore? Especially #ok?, #why_not_ok?
class Gem::DependencyList
attr_reader :specs
include Enumerable
@ -239,4 +240,5 @@ class Gem::DependencyList
def active_count(specs, ignored)
specs.count {|spec| ignored[spec.full_name].nil? }
end
end