class RDoc::RubygemsHook

def generate

def generate
  # Do nothing if this is NOT a default gem.
  return unless self.class.default_gem?
  # Generate document for compatibility if this is a default gem.
  hook = RubyGemsHook.new(@spec, @generate_rdoc, @generate_ri)
  hook.force = @force
  hook.generate
end