class Progress::Bar

Direct Known Subclasses

Defined in:

progress_bar/bar.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(total : Int32 = 100, step : Int32 = 1, theme : Progress::Theme = Theme.new, output_stream : IO::FileDescriptor = STDOUT) #

[View source]

Instance Method Detail

def current : Float64 | Int32 #

[View source]
def done? #

[View source]
def finish! #

[View source]
def humanized_current #

[View source]
def humanized_total #

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

[View source]
def remaining #

[View source]
def theme : Progress::Theme #

[View source]
def tick(n = @step, no_print = false) #

[View source]
def total : Int32 #

[View source]