-
-
Notifications
You must be signed in to change notification settings - Fork 131
Basic Usage
Jeff Felchner edited this page Jul 13, 2016
·
3 revisions
It's simple to get started:
progressbar = 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: |=================================== |
Animated: