A progress reporter that behaves nicely with threaded downloading.
Methods
Constants
MUTEX | = | Thread::Mutex.new |
Attributes
[R] | file_name | The current file name being displayed |
Class Public methods
new(out_stream, *args) Link
Creates a new threaded download reporter that will display on out_stream
. The other arguments are ignored.
Instance Public methods
done() Link
Indicates the download is complete.
fetch(file_name, *args) Link
Tells the download reporter that the file_name
is being fetched. The other arguments are ignored.