class RDoc::Markup::Formatter

Base class for RDoc markup formatters

Formatters are a visitor that converts an RDoc::Markup tree (from a comment) into some kind of output. RDoc ships with formatters for converting back to rdoc, ANSI text, HTML, a Table of Contents and other formats.

If youโ€™d like to write your own Formatter use RDoc::Markup::FormatterTestCase. If youโ€™re writing a text-output formatter use RDoc::Markup::TextFormatterTestCase which provides extra test cases.