-
-
Notifications
You must be signed in to change notification settings - Fork 132
Basic Usage
Ian Vaughan edited this page Apr 23, 2015
·
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: |=================================== |