Created
August 15, 2014 15:16
-
-
Save radavis/c4447542f8fb4d4c314d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'ruby-progressbar' | |
progress = ProgressBar.create(format: '%a %bᗧ%i %p%% %t', | |
progress_mark: ' ', | |
remainder_mark: '・', | |
starting_at: 1) | |
99.times do | |
sleep(0.1) | |
progress.increment | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment