We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
gem server
Gem::Rdoc.load_rdoc
NoMethodError
1 parent 57a4615 commit 4681de5Copy full SHA for 4681de5
lib/rdoc/rubygems_hook.rb
@@ -273,6 +273,10 @@ class RubygemsHook
273
274
attr_accessor :generate_rdoc, :generate_ri, :force
275
276
+ class << self
277
+ attr_accessor :rdoc_version
278
+ end
279
+
280
def self.default_gem?
281
!File.exist?(File.join(__dir__, "..", "rubygems_plugin.rb"))
282
end
@@ -310,5 +314,9 @@ def self.generation_hook installer, specs
310
314
# Generate document for compatibility if this is a default gem.
311
315
RubyGemsHook.generate(installer, specs)
312
316
317
318
+ def self.load_rdoc
319
+ @rdoc_version = RubyGemsHook.load_rdoc
320
313
321
322
0 commit comments