Progress::IOBar
Inherits Progress::Bar / Reference / Object
Constants
ONE_SECOND = Time::Span.new(seconds: 1)
Constructors
new(total = 100, step = 1, theme = Theme.new, output_stream = STDOUT, lock = Mutex.new)
SourceInstance methods
caclulate_throughput(bytesize)
Sourcecalculate_throughput(bytesize)
Returns the throughput, in bytes per second. Also resets the last tick to the current time
progress_writer
Source