mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 21:14:23 +02:00
Manually merged from https://github.com/rubygems/rubygems/pull/2636
Enable Style/EmptyLinesAroundClassBody rubocop cop.
This commit is contained in:
parent
f56fc720ee
commit
31a6eaabc1
274 changed files with 672 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue