-
-
Notifications
You must be signed in to change notification settings - Fork 132
Basic Usage
bjmfactory edited this page Nov 17, 2014
·
3 revisions
It's simple to get started:
ProgressBar.create
Creates a basic progress bar beginning at 0
, a maximum capacity of 100
and tells it to start.
Progress: | |
Every call to #increment
will advance the bar by 1
. Therefore:
50.times { progressbar.increment }
Would output an advancing line which would end up here:
Progress: |=================================== |