Module: Rainbow Private

Defined in:
sorbet/rbi/annotations/rainbow.rbi

Overview

This module is part of a private API. This module may only be used in the Homebrew/brew repository. Third parties should avoid using this module if possible, as it may be removed or changed without warning.

DO NOT EDIT MANUALLY This file was pulled from a central RBI files repository. Please run bin/tapioca annotations to update it.

Defined Under Namespace

Modules: X11ColorNames Classes: Color, NullPresenter, Presenter, StringUtils, Wrapper

Constant Summary collapse

VERSION =

This constant is part of a private API. This constant may only be used in the Homebrew/brew repository. Third parties should avoid using this constant if possible, as it may be removed or changed without warning.

T.let(nil, String)

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#enabledBoolean

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.

@shim: https://github.com/sickill/rainbow/blob/master/lib/rainbow.rb#L10-L12

Returns:

  • (Boolean)


10
11
12
# File 'sorbet/rbi/annotations/rainbow.rbi', line 10

def enabled
  @enabled
end

Class Method Details

.enabledBoolean

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:

  • (Boolean)


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

def self.enabled; end

.enabled=(value) ⇒ 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.

Parameters:

  • value (Boolean)

Returns:

  • (Boolean)


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

def self.enabled=(value); end

.globalWrapper

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:



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

def self.global; end

.uncolor(string) ⇒ String

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:



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

def self.uncolor(string); end