- Inheritance
-
< RI::AttributeFormatter
< RI::TextFormatter
< Object
This formatter uses ANSI escape sequences to colorize stuff works with
pages such as man and less.
Constants
Name |
|
Description |
ATTR_MAP |
= { BOLD => "1", ITALIC => "33", CODE => "36" |
|
HEADINGS |
= { 1 => [ "\033[1;32m", "\033[m" ] , 2 => ["\033[4;32m", "\033[m" ], 3 => ["\033[32m", "\033[m" ] |
|
Methods
Class
Visibility |
Signature |
public |
new (*args) |
Instance
Class Method Detail
new(*args)
Instance Method Detail
bold_print(txt)
display_heading(text, level, indent)
write_attribute_text(prefix, line)