class
Sheen::ANSIColor
- Sheen::ANSIColor
- Sheen::TerminalColor
- Reference
- Object
Overview
A color given by ANSI/256 index (0...255). Extra sugar over Color.
Defined in:
sheen/color.crConstructors
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) - #index : Int32
-
#resolve(renderer : Renderer) : Foundation::SGRColor | Nil
Resolves to the SGR color for renderer's profile, or nil for no color
Instance methods inherited from class Sheen::TerminalColor
resolve(renderer : Renderer) : Foundation::SGRColor | Nil
resolve
Constructor Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true if this reference is the same as other. Invokes same?.
Description copied from class Sheen::TerminalColor
Resolves to the SGR color for renderer's profile, or nil for no color