class

CrystalClear::Spinner

Inherits Reference < Object

Constants

FRAMES = { braille: ["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"] of ::String, braille_short: ["⠋", "⠙", "⠸", "⠴", "⠦", "⠇"] of ::String, braille_dot: ["⠷", "⠯", "⠟", "⠻", "⠽", "⠾"] of ::String, bar_up_down: ["▁", "▃", "▅", "▆", "▇", "█", "▇", "▆", "▅", "▃"] of ::String, }
INTERVAL = 1.second / 10

Constructors

new(type : Symbol = :braille, color_scheme : Symbol = :light, text : String = "", auto_start : Bool = true)
Source

Instance methods

color
Source
color_scheme
Source
running?
Source
start
Source
stop(text : String = "")
Source
text
Source
text=(text : String)
Source
type
Source