Class: Rainbow::Wrapper Private
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.
Instance Attribute Summary collapse
- #enabled ⇒ Boolean private
Instance Method Summary collapse
- #initialize(enabled = true) ⇒ void constructor private
- #wrap(string) ⇒ Rainbow::Presenter, Rainbow::NullPresenter private
Constructor Details
#initialize(enabled = true) ⇒ 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.
257 |
# File 'sorbet/rbi/annotations/rainbow.rbi', line 257 def initialize(enabled = true); end |
Instance Attribute Details
#enabled ⇒ Boolean
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.
254 255 256 |
# File 'sorbet/rbi/annotations/rainbow.rbi', line 254 def enabled @enabled end |
Instance Method Details
#wrap(string) ⇒ Rainbow::Presenter, Rainbow::NullPresenter
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.
260 |
# File 'sorbet/rbi/annotations/rainbow.rbi', line 260 def wrap(string); end |