diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-09-23 21:02:56 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-09-23 21:02:56 +0900 |
commit | 31a6eaabc165d8a222e176f2c809d90622d88ec2 (patch) | |
tree | b5333db2c13888ede5062ccd8ecca649ea261b4c /lib/rubygems/source_list.rb | |
parent | f56fc720ee8cd4b79824a1c3843058b662a302bd (diff) | |
download | ruby-31a6eaabc165d8a222e176f2c809d90622d88ec2.tar.gz |
Manually merged from https://github.com/rubygems/rubygems/pull/2636
Enable Style/EmptyLinesAroundClassBody rubocop cop.
Diffstat (limited to 'lib/rubygems/source_list.rb')
-rw-r--r-- | lib/rubygems/source_list.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rubygems/source_list.rb b/lib/rubygems/source_list.rb index 13b25b63dc..fa65f2438b 100644 --- a/lib/rubygems/source_list.rb +++ b/lib/rubygems/source_list.rb @@ -14,6 +14,7 @@ # The most common way to get a SourceList is Gem.sources. class Gem::SourceList + include Enumerable ## @@ -147,4 +148,5 @@ class Gem::SourceList @sources.delete_if {|x| x.uri.to_s == source.to_s } end end + end |