Progress indicator for P4Ruby.
There is a new class P4::Progress that is set up to be subclassed by a user.
It has the following interface and P4Ruby expects the following class methods to
be defined by the user (even if it's an empty implementation):
def description(description, units )
def total( total )
def update( position )
def done( fail )
Users need to create a subclass of P4::Progress and assign an instance to P4
to enable the progress indicator:
class MyProgress < P4::Progress
# do something with the value here
# other methods
p4 = P4.new
p4.progress = MyProgress.new
New feature to be documented in the release notes.