class
RI::AttributeFormatter
v1_8_7_330 -
Show latest stable
- Superclass: TextFormatter
Handle text with attributes. We’re a base class: there are different presentation classes (one, for example, uses overstrikes to handle bold and underlining, while another using ANSI escape sequences
Constants
ATTR_MAP = { "b" => BOLD, "code" => CODE, "em" => ITALIC, "i" => ITALIC, "tt" => CODE
BOLD = 1
CODE = 4
ITALIC = 2
Files
- lib/rdoc/ri/ri_formatter.rb