Spec-Zone.ru › Homebrew

Class: Rainbow::Color Private

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

Indexed

Defined Under Namespace

Classes: Indexed, Named, RGB, X11Named

Instance Attribute Summary collapse

  • #ground ⇒ Symbol readonly private

Class Method Summary collapse

  • .build(ground, values) ⇒ Color private
  • .parse_hex_color(hex) ⇒ Array<(Integer, Integer, Integer)> private

Instance Attribute Details

#ground ⇒ Symbol (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:

  • (Symbol)


14
15
16
# File 'sorbet/rbi/annotations/rainbow.rbi', line 14

def ground
  @ground
end

Class Method Details

.build(ground, values) ⇒ Color

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)
  • values (Array<(Integer)>, Array<(Integer, Integer, Integer)>)

Returns:

  • (Color)


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

def self.build(ground, values); end

.parse_hex_color(hex) ⇒ Array<(Integer, Integer, 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.

Parameters:

  • hex (String)

Returns:

  • (Array<(Integer, Integer, Integer)>)


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

def self.parse_hex_color(hex); end

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

Spec-Zone.ru

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