Class Gem::DocManager
In: lib/rubygems/doc_manager.rb
Parent: Object

The documentation manager generates RDoc and RI for RubyGems.

Methods

Included Modules

Gem::UserInteraction

Public Class methods

Load RDoc from a gem if it is available, otherwise from Ruby‘s stdlib

Create a document manager for spec. rdoc_args contains arguments for RDoc (template etc.) as a String.

Updates the RI cache for RDoc 2 if it is installed

Public Instance methods

Generate the RDoc documents for this gem spec.

Note that if both RI and RDoc documents are generated from the same process, the RI docs should be done first (a likely bug in RDoc will cause RI docs generation to fail if run after RDoc).

Generate the RI documents for this gem spec.

Note that if both RI and RDoc documents are generated from the same process, the RI docs should be done first (a likely bug in RDoc will cause RI docs generation to fail if run after RDoc).

Generate and install RDoc into the documentation directory

Generate and install RI into the documentation directory

Is the RDoc documentation installed?

Run RDoc with args, which is an ARGV style argument list

Remove RDoc and RI documentation

[Validate]