diff options
| author | tompng <tomoyapenguin@gmail.com> | 2026-02-04 21:25:12 +0900 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2026-02-05 01:59:53 +0000 |
| commit | ad0ac0ec2fd9bbbe1fc69cb9609a56571ca6d63f (patch) | |
| tree | f558af7ad6aa4d9d22151306ecb84e6d5dabf04b | |
| parent | 10b6d543f98fc64b41eab9aceae57b498b093771 (diff) | |
[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.
https://github.com/ruby/rubygems/commit/b1953a3a09
| -rw-r--r-- | lib/rubygems.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/rubygems.rb b/lib/rubygems.rb index 31abb7e569..2139264629 100644 --- a/lib/rubygems.rb +++ b/lib/rubygems.rb @@ -1410,9 +1410,7 @@ require_relative "rubygems/specification" # REFACTOR: This should be pulled out into some kind of hacks file. begin - ## # Defaults the operating system (or packager) wants to provide for RubyGems. - require "rubygems/defaults/operating_system" rescue LoadError # Ignored @@ -1427,9 +1425,7 @@ rescue StandardError => e end begin - ## # Defaults the Ruby implementation wants to provide for RubyGems - require "rubygems/defaults/#{RUBY_ENGINE}" rescue LoadError end |
