From 31a6eaabc165d8a222e176f2c809d90622d88ec2 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 23 Sep 2020 21:02:56 +0900 Subject: Manually merged from https://github.com/rubygems/rubygems/pull/2636 Enable Style/EmptyLinesAroundClassBody rubocop cop. --- lib/rubygems.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/rubygems.rb') diff --git a/lib/rubygems.rb b/lib/rubygems.rb index 03f9063c2b..23f7071b60 100644 --- a/lib/rubygems.rb +++ b/lib/rubygems.rb @@ -1185,6 +1185,7 @@ An Array (#{env.inspect}) was passed in from #{caller[3]} # methods, and then we switch over to `class << self` here. Pick one or the # other. class << self + ## # RubyGems distributors (like operating system package managers) can # disable RubyGems update by setting this to error message printed to @@ -1307,6 +1308,7 @@ An Array (#{env.inspect}) was passed in from #{caller[3]} def default_gem_load_paths @default_gem_load_paths ||= $LOAD_PATH[load_path_insert_index..-1] end + end ## -- cgit v1.2.3