Spec-Zone.ru › Homebrew

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

  • #enabled ⇒ Boolean private

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

Class Method Summary collapse

  • .enabled ⇒ Boolean private
  • .enabled=(value) ⇒ Boolean private
  • .global ⇒ Wrapper private
  • .uncolor(string) ⇒ String private

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.

@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

.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.

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

.global ⇒ Wrapper

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:

  • (Wrapper)


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:

  • string (String)

Returns:

  • (String)


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

def self.uncolor(string); end

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

Spec-Zone.ru

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