Spec-Zone.ru › Homebrew

Class: Rainbow::Color::Named Private

Inherits:
Indexed
  • Object
  • Rainbow::Color
  • Indexed
  • Rainbow::Color::Named
show all
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 collapse

NAMES =

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

T.let(nil, T::Hash[Symbol, Integer])

Instance Attribute Summary

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 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)


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

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>)


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

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)


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

def self.valid_names; end

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

Spec-Zone.ru

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