Flowdock
Ruby latest stable (v1_9_3_392) - 0 notes - Superclass: Formatter

Class deprecated or moved

This class is deprecated or moved on the latest stable version. The last existing version (v1_9_1_378) is shown here.

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.