Class: Rainbow::Color::X11Named Private

Inherits:
RGB show all
Includes:
X11ColorNames
Defined in:
sorbet/rbi/annotations/rainbow.rbi

This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.

Constant Summary

Constants included from X11ColorNames

X11ColorNames::NAMES

Instance Attribute Summary

Attributes inherited from RGB

#b, #g, #r

Attributes inherited from Indexed

#num

Attributes inherited from Rainbow::Color

#ground

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from RGB

#codes, to_ansi_domain

Methods inherited from Indexed

#codes

Methods inherited from Rainbow::Color

build, parse_hex_color

Constructor Details

#initialize(ground, name) ⇒ void

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Parameters:



64
# File 'sorbet/rbi/annotations/rainbow.rbi', line 64

def initialize(ground, name); end

Class Method Details

.color_namesArray<Symbol>

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns:



67
# File 'sorbet/rbi/annotations/rainbow.rbi', line 67

def self.color_names; end

.valid_namesString

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns:



70
# File 'sorbet/rbi/annotations/rainbow.rbi', line 70

def self.valid_names; end