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.
1 parent e88ba9c commit e9e69f3Copy full SHA for e9e69f3
lib/rdoc/rubygems_hook.rb
@@ -273,11 +273,11 @@ def setup
273
module RDoc
274
class RubygemsHook
275
def self.default_gem?
276
- File.exist?(File.join(__dir__, "..", "rubygems_plugin.rb"))
+ !File.exist?(File.join(__dir__, "..", "rubygems_plugin.rb"))
277
end
278
279
def initialize(spec)
280
- @spe = spec
+ @spec = spec
281
282
283
def remove
@@ -294,7 +294,7 @@ def self.generation_hook installer, specs
294
return unless default_gem?
295
296
# Generate document for compatibility if this is a default gem.
297
- RubyGemsHook.generation_hook(installer, specs)
+ ::RDoc::RubyGemsHook.generate(installer, specs)
298
299
300
0 commit comments