1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/rubygems/rdoc.rb
David Rodríguez dd1bfbc061 Remove unneeded code
This was added ~8 years to fix some json warning but I'm pretty sure
it's not needed anymore.

This has caused several issues in both ruby-core and rdoc test suite and
it doesn't make much sense to me these days so let's kill it.
2020-06-17 21:16:56 +09:00

12 lines
219 B
Ruby

# 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