class

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)
Source

Instance methods

caclulate_throughput(bytesize)
Source
calculate_throughput(bytesize)

Returns the throughput, in bytes per second. Also resets the last tick to the current time

Source
progress_writer
Source