Class Rex::Ui::ProgressTracker
In: lib/rex/ui/progress_tracker.rb
Parent: Object

This module tracks the progress of an arbitrary task in a generic fashion. The actual implementation is left up to the thing that derives from this module.

Methods

abort   error   new   range=   reset   start=   status   step   step_status  

Attributes

pos  [RW]  The current position in the progress.
start  [R]  The start of the progress.
stop  [RW]  The last position in the progress.

Public Class methods

Public Instance methods

Progress has been aborted, the reason is supplied in msg.

An error occurred that may result in aborting the progress.

Sets start and step using a range.

Resets the current step location.

Sets the start and resets the position.

Passes a generic status message that isn‘t necessarily associated with a step event.

Steps with a given message and step size.

Updates the status associated with the current step.

[Validate]