Opal::UI::Gauge
Inherits Opal::UI::Element < Opal::UI::Themable < Reference < Object
Progress gauge with percentage indicator and custom fill/empty glyphs.
Constructors
Class methods
print(ratio : Float64, label : String | Nil = nil, io : IO = STDOUT, color : Color | Symbol | String | Nil = nil, width : Int32 | Nil = nil, filled_char : Char = '█', empty_char : Char = '░', ansi : Bool | Nil = nil, theme : Theme | Nil = nil) : Nil
Class convenience method printing styled gauge directly to IO
Instance methods
color
Sourceempty_char
Sourcefilled_char
Sourcelabel
Sourceratio
Source