module

Lemonade::FormattingHelper

Constants

RAW_STUFF = { fg: {"foreground", 'F'}, bg: {"background", 'B'}, line: {"underline & overline attributes", 'U'}, }

Instance methods

bg(block, color = ColorReset)

Formats block with background color.

Source
bg_color(color)

Set background color.

Source
bg_color_reset

Reset "background" color.

Source
disable_overline

Disables attribute overline

Source
disable_underline

Disables attribute underline

Source
enable_overline

Enables attribute overline

Source
enable_underline

Enables attribute underline

Source
fg(block, color = ColorReset)

Formats block with foreground color.

Source
fg_color(color)

Set foreground color.

Source
fg_color_reset

Reset "foreground" color.

Source
fgbg(block, fg fg_color, bg bg_color)

Formats block with foreground fg color, and background bg color.

Source
line_color(color)

Set underline & overline attributes color.

Source
line_color_reset

Reset "underline & overline attributes" color.

Source
ol(block, color = ColorReset)

Overlines block, colored using color.

Source
toggle_overline

Toggles attribute overline

Source
toggle_underline

Toggles attribute underline

Source
ul(block, color = ColorReset)

Underlines block, colored using color.

Source