mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05: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
|
@ -1,5 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
class Gem::AvailableSet
|
||||
|
||||
include Enumerable
|
||||
|
||||
Tuple = Struct.new(:spec, :source)
|
||||
|
@ -161,4 +162,5 @@ class Gem::AvailableSet
|
|||
def inject_into_list(dep_list)
|
||||
@set.each {|t| dep_list.add t.spec }
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue