Class: Rainbow::Presenter Private

Inherits:
String 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.

Constant Summary collapse

TERM_EFFECTS =

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, T::Hash[Symbol, Integer])

Constants inherited from String

String::BLANK_RE, String::ENCODED_BLANKS_

Instance Method Summary collapse

Methods inherited from String

#blank?, #exclude?, #present?

Instance Method Details

#background(*values) ⇒ Presenter

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:

  • values (Array<(Integer)>, Array<(Integer, Integer, Integer)>)

Returns:



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

def background(*values); end

#bg(*values) ⇒ Presenter

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:

  • values (Array<(Integer)>, Array<(Integer, Integer, Integer)>)

Returns:



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

def bg(*values); end

#blackPresenter

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:



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

def black; end

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:



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

def blink; end

#bluePresenter

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:



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

def blue; end

#boldPresenter

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:



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

def bold; end

#brightPresenter

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:



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

def bright; end

#color(*values) ⇒ Presenter

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:

  • values (Array<(Integer)>, Array<(Integer, Integer, Integer)>)

Returns:



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

def color(*values); end

#cross_outPresenter

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:



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

def cross_out; end

#cyanPresenter

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:



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

def cyan; end

#darkPresenter

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:



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

def dark; end

#faintPresenter

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:



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

def faint; end

#fg(*values) ⇒ Presenter

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:

  • values (Array<(Integer)>, Array<(Integer, Integer, Integer)>)

Returns:



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

def fg(*values); end

#foreground(*values) ⇒ Presenter

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:

  • values (Array<(Integer)>, Array<(Integer, Integer, Integer)>)

Returns:



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

def foreground(*values); end

#greenPresenter

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:



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

def green; end

#hidePresenter

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:



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

def hide; end

#inversePresenter

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:



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

def inverse; end

#italicPresenter

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:



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

def italic; end

#magentaPresenter

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:



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

def magenta; end

#redPresenter

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:



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

def red; end

#resetPresenter

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:



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

def reset; end

#strikePresenter

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:



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

def strike; end

#underlinePresenter

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:



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

def underline; end

#whitePresenter

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:



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

def white; end

#yellowPresenter

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:



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

def yellow; end