Change 14650

Request Review
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):

    class Progress:
        def init(type)

        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
    def update(pos):
       # do something with the value here

    # other methods

p4 =
p4.progress =

New feature to be documented in the release notes.
6 edited 3 added 0 deleted
Tip: Use n and p to cycle through the changes.