Skip to content

Instantly share code, notes, and snippets.

@tourdedave
Created February 11, 2013 20:03
Show Gist options
  • Save tourdedave/4757142 to your computer and use it in GitHub Desktop.
Save tourdedave/4757142 to your computer and use it in GitHub Desktop.
A quick and easy command-line progress bar
require 'ruby-progressbar'
progress_bar = ProgressBar.create(:total => @urls.count, :format => '%a |%b %i| %p%% Completed')
progress_bar.increment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment