ruby/lib/rubygems/rdoc.rb

14 строки
232 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