Spec-Zone.ru › Homebrew

Class: Rainbow::Color::Indexed Private

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

Direct Known Subclasses

Named, RGB

Instance Attribute Summary collapse

  • #num ⇒ Integer readonly private

Attributes inherited from Rainbow::Color

#ground

Instance Method Summary collapse

  • #codes ⇒ Array<Integer> private
  • #initialize(ground, num) ⇒ void constructor private

Methods inherited from Rainbow::Color

build, parse_hex_color

Constructor Details

#initialize(ground, num) ⇒ 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)
  • num (Integer)


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

def initialize(ground, num); end

Instance Attribute Details

#num ⇒ Integer (readonly)

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:

  • (Integer)


24
25
26
# File 'sorbet/rbi/annotations/rainbow.rbi', line 24

def num
  @num
end

Instance Method Details

#codes ⇒ Array<Integer>

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


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

def codes; end

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

Spec-Zone.ru

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