Skip to content
instance method

Gem::Specification#extra_rdoc_files

extra_rdoc_files

Extra files to add to RDoc such as README or doc/examples.txt

When the user elects to generate the RDoc documentation for a gem (typically at install time), all the library files are sent to RDoc for processing. This option allows you to have some non-code files included for a more complete set of documentation.

Usage:

Example
spec.extra_rdoc_files = ['README', 'doc/user-guide.txt']