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:
parent
12a2e32d43
commit
867f0c6793
9 changed files with 18 additions and 18 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue