Spec-Zone.ru › Homebrew

Class: Rainbow::Color::X11Named Private

Inherits:
RGB
  • Object
  • Rainbow::Color
  • Indexed
  • RGB
  • Rainbow::Color::X11Named
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

  • .color_names ⇒ Array<Symbol> private
  • .valid_names ⇒ String private

Instance Method Summary collapse

  • #initialize(ground, name) ⇒ void constructor private

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:

  • ground (Symbol)
  • name (Symbol)


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

def initialize(ground, name); end

Class Method Details

.color_names ⇒ Array<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:

  • (Array<Symbol>)


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

def self.color_names; end

.valid_names ⇒ String

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:

  • (String)


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

def self.valid_names; end

© 2009–present Homebrew contributors
Licensed under the BSD 2-Clause License.
https://docs.brew.sh/rubydoc/Rainbow/Color/X11Named.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API