Skip to content

Commit ad0ac0e

Browse files
tompngmatzbot
authored andcommitted
[ruby/rubygems] Remove "##" from a comment to require
In RDoc, comment that starts with "##" is a metaprogramming method definition. If it's not a metaprogramming method definition, "##" shouldn't be used. ruby/rubygems@b1953a3a09
1 parent 10b6d54 commit ad0ac0e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/rubygems.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1410,9 +1410,7 @@ def default_gem_load_paths
14101410

14111411
# REFACTOR: This should be pulled out into some kind of hacks file.
14121412
begin
1413-
##
14141413
# Defaults the operating system (or packager) wants to provide for RubyGems.
1415-
14161414
require "rubygems/defaults/operating_system"
14171415
rescue LoadError
14181416
# Ignored
@@ -1427,9 +1425,7 @@ def default_gem_load_paths
14271425
end
14281426

14291427
begin
1430-
##
14311428
# Defaults the Ruby implementation wants to provide for RubyGems
1432-
14331429
require "rubygems/defaults/#{RUBY_ENGINE}"
14341430
rescue LoadError
14351431
end

0 commit comments

Comments
 (0)