class ProgressBar

Defined in:

progress.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(total : Int32 = 100, step : Int32 = 1, width : Int32 = 100, complete : String = "▓", incomplete : String = "░", use_stdout = false) #

[View source]

Instance Method Detail

def complete : String #

[View source]
def complete=(complete : String) #

[View source]
def current : Float64 | Int32 #

[View source]
def done #

[View source]
def done? #

[View source]
def inc #

[View source]
def incomplete : String #

[View source]
def incomplete=(incomplete : String) #

[View source]
def output_stream : IO::FileDescriptor #

[View source]
def output_stream=(output_stream : IO::FileDescriptor) #

[View source]
def percent #

[View source]
def set(n) #

[View source]
def step : Int32 #

[View source]
def step=(step : Int32) #

[View source]
def tick(n) #

[View source]
def total : Int32 #

[View source]
def total=(total : Int32) #

[View source]
def width : Int32 #

[View source]
def width=(width : Int32) #

[View source]