Class: Rainbow::Color::RGB Private
- Inherits:
-
Indexed
- Object
- Rainbow::Color
- Indexed
- Rainbow::Color::RGB
- 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
Instance Attribute Summary collapse
- #b ⇒ Integer readonly private
- #g ⇒ Integer readonly private
- #r ⇒ Integer readonly private
Attributes inherited from Indexed
Attributes inherited from Rainbow::Color
Class Method Summary collapse
- .to_ansi_domain(value) ⇒ Integer private
Instance Method Summary collapse
- #codes ⇒ Array<Integer> private
- #initialize(ground, *values) ⇒ void constructor private
Methods inherited from Rainbow::Color
Constructor Details
#initialize(ground, *values) ⇒ 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.
51 |
# File 'sorbet/rbi/annotations/rainbow.rbi', line 51 def initialize(ground, *values); end |
Instance Attribute Details
#b ⇒ 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.
48 49 50 |
# File 'sorbet/rbi/annotations/rainbow.rbi', line 48 def b @b end |
#g ⇒ 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.
48 49 50 |
# File 'sorbet/rbi/annotations/rainbow.rbi', line 48 def g @g end |
#r ⇒ 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.
48 49 50 |
# File 'sorbet/rbi/annotations/rainbow.rbi', line 48 def r @r end |
Class Method Details
.to_ansi_domain(value) ⇒ 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.
57 |
# File 'sorbet/rbi/annotations/rainbow.rbi', line 57 def self.to_ansi_domain(value); 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.
54 |
# File 'sorbet/rbi/annotations/rainbow.rbi', line 54 def codes; end |