Flowdock
v1_9_1_378 - Show latest stable - 0 notes - Superclass: Formatter

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

BOLD = 1

ITALIC = 2

CODE = 4

ATTR_MAP = { "b" => BOLD, "code" => CODE, "em" => ITALIC, "i" => ITALIC, "tt" => CODE }

AttrChar = Struct.new :char, :attr

Attributes

Show files where this class is defined (1 file)
Register or log in to add new notes.