enum

Tea::ProgressBarState

Inherits Enum < Comparable < Value < Object

ProgressBarState represents the state of the terminal progress bar.

Constants

None = 0
Default = 1
Error = 2
Indeterminate = 3
Warning = 4

Instance methods

default?

Returns true if this enum value equals Default

Source
error?

Returns true if this enum value equals Error

Source
indeterminate?

Returns true if this enum value equals Indeterminate

Source
none?

Returns true if this enum value equals None

Source
string

Go parity helper for ProgressBarState.String().

Source
warning?

Returns true if this enum value equals Warning

Source