RDoc Options
Usage:
rdoc [options] [names. . . ]
names is a list of one or more filenames that you want to process with RDoc. Files are parsed, and the information they contain collected, before any output is produced. This allows cross-references between all files that are to be resolved.
If a filename on the command line is a directory, it is traversed. If no names are specified on the command line, all Ruby files in the current directory (and subdirectories) are processed.
Options:
--accessor, -Aaccessorname[,..]Comma separated list of additional class methods that should be treated like
attr_readerand friends. Option may be repeated. Eachaccessornamemay have=textappended, in which case that text appears where the r/w/rw appears for normal accessors.--all, -aIncludes all methods (not just public) in the output.
--charset, -ccharsetSpecifies HTML character set.
--debug, -DDisplays internal information.
--diagram, -dGenerates diagrams showing modules and classes. You need dot V1.8.6 or later to use the
--diagramoption correctly. Dot is available from http://www.research.att.com/sw/tools/graphviz.--exclude, -xpatternDoes not process files or directories matching
pattern. Files given explicitly on the command line will never be excluded.--extension, -Enew=oldTreats files ending with .new as if they ended with .old. Using
'-E cgi=rb'will cause xxx.cgi to be parsed as a Ruby file.--fileboxes, -FClasses are put in boxes that represent files, where these classes reside. Classes shared ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access