module

Colorize::ObjectExtensions

Instance methods

colorize(r : UInt8, g : UInt8, b : UInt8)

Wraps self in a Colorize::Object and colors it with the given ColorRGB made up from the given red, green and blue values.

Source
colorize(fore : UInt8)

Wraps self in a Colorize::Object and colors it with the given Color256 made up from the single fore byte.

Source
colorize(fore : Symbol)

Wraps self in a Colorize::Object and colors it with the given fore color.

Source
colorize(fore : Color)

Wraps self in a Colorize::Object and colors it with the given fore Color.

Source
colorize

Turns self into a Colorize::Object.

Source