1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/rdoc] Prefer require_relative

This commit is contained in:
Marc-Andre Lafortune 2018-10-05 16:41:57 -04:00
parent 12a2e32d43
commit 867f0c6793
9 changed files with 18 additions and 18 deletions

View file

@ -70,7 +70,7 @@ class RDoc::RubygemsHook
def self.load_rdoc
return if @rdoc_version
require 'rdoc/rdoc'
require_relative 'rdoc'
@rdoc_version = Gem::Version.new ::RDoc::VERSION
end