Spec-Zone.ru › Homebrew

Class: Rainbow::StringUtils Private

Inherits:
Object
  • Object
  • Rainbow::StringUtils
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.

Class Method Summary collapse

  • .uncolor(string) ⇒ String private
  • .wrap_with_sgr(string, codes) ⇒ String private

Class Method Details

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


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

def self.uncolor(string); end

.wrap_with_sgr(string, codes) ⇒ 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)
  • codes (Array<Integer>)

Returns:

  • (String)


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

def self.wrap_with_sgr(string, codes); end

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

Spec-Zone.ru

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