Class: Rainbow::Color Private

Inherits:
Object 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

Class Method Summary collapse

Instance Attribute Details

#groundSymbol (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:



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:

Returns:



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:

Returns:

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


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

def self.parse_hex_color(hex); end