RDoc

From Wikipedia, the free encyclopedia

Template:Short description Script error: No such module "For".

Page Module:Message box/ambox.css has no content.

Page Module:Infobox/styles.css has no content.

RDoc
[[Programmer|Original authorTemplate:Pluralize from text]]Dave Thomas
Template:Infobox software/simple
Written inRuby
EnginePage Template:Plainlist/styles.css has no content.Template:EditAtWikidata
Operating systemCross-platform
Typeembedded documentation generator
LicenseGPLv2
Websiteruby.github.io/rdoc/
RepositoryPage Template:Plainlist/styles.css has no content.

Script error: No such module "Check for conflicting parameters".

RDoc, designed by Dave Thomas, is an embedded documentation generator for the Ruby programming language. It analyzes Ruby source code, generating a structured collection of pages for Ruby objects and methods. Code comments can be added in a natural style. RDoc is included as part of the Ruby core distribution. The RDoc software and format are successors to the Ruby Document format (with associated software RD).

RDoc can produce usable documentation even if the target source code does not contain explicit comments as it will still parse the classes, modules, and methods, and list them in the generated API files. RDoc also provides the engine for creating Ruby ri data files, providing access to API information from the command line.

RDoc and ri are currently maintained by Eric Hodel and Ryan Davis.

Syntax

RDoc supports four markup languages, RDoc Markup, Markdown, tomdoc, and rdtool. Its own RDoc Markup is used by default. In RDoc Markup, special directives are enclosed in a pair of colons. For example, to indicate that a method takes arguments called site and article, one can write :args: site, article.[1]

See also

Lua error in mw.title.lua at line 404: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').

References

Page Template:Reflist/styles.css has no content.

  1. ^ Page Module:Citation/CS1/styles.css has no content."class RDoc::Markup". rdoc 6.0.4 Documentation.

Lua error in package.lua at line 80: module 'Module:Navbox/configuration' not found.


Template:Asbox