This method is deprecated or moved on the latest stable version.
The last existing version (v1_9_3_392) is shown here.
load_rdoc()
public
Load RDoc from a gem if it is available, otherwise
from Ruby’s stdlib
# File lib/rubygems/doc_manager.rb, line 34
def self.load_rdoc
begin
gem 'rdoc'
rescue Gem::LoadError
# use built-in RDoc
end
begin
require 'rdoc/rdoc'
@rdoc_version = if defined? RDoc::VERSION then
Gem::Version.new RDoc::VERSION
else
Gem::Version.new '1.0.1' # HACK parsing is hard
end
rescue LoadError => e
raise Gem::DocumentError,
"ERROR: RDoc documentation generator not installed: #{e}"
end
end