Colorize::Mode
Inherits Enum / Comparable / Value / Object
A text decoration.
Note that not all text decorations are supported in all terminals. When a text decoration is not supported, it will leave the text unaffected.
Constants
Bold = 1
Makes the text bold.
Same as Bright.
Bright = 1
Makes the text color bright.
Same as Bold.
Dim = 2
Dims the text color.
Underline = 4
Draws a line below the text.
Blink = 8
Makes the text blink slowly.
Reverse = 16
Swaps the foreground and background colors of the text.
Hidden = 32
Makes the text invisible.
Italic = 64
Italicizes the text.
BlinkFast = 128
Makes the text blink quickly.
Strikethrough = 256
Crosses out the text.
DoubleUnderline = 512
Draws two lines below the text.
Overline = 1024
Draws a line above the text.
None = 0
All = 2047
Instance methods
none?
Source