summaryrefslogtreecommitdiff
path: root/lib/rubygems/rdoc.rb
blob: c40bb7d9f17ac366bf7e1501e868d0c71b9daa65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true
require 'rubygems'

begin
  require 'rdoc/rubygems_hook'
  module Gem
    RDoc = ::RDoc::RubygemsHook
  end

  Gem.done_installing(&Gem::RDoc.method(:generation_hook))
rescue LoadError
end