mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
d7ffd3fea4
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
12 lines
231 B
Ruby
12 lines
231 B
Ruby
# frozen_string_literal: true
|
|
require_relative "../rubygems"
|
|
|
|
begin
|
|
require "rdoc/rubygems_hook"
|
|
module Gem
|
|
RDoc = ::RDoc::RubygemsHook
|
|
end
|
|
|
|
Gem.done_installing(&Gem::RDoc.method(:generation_hook))
|
|
rescue LoadError
|
|
end
|