def progress(arr, options = {})
      bar = ProgressBar.new arr.length, options
      bar.show
      arr.each { |v| bar.increment yield(v) }
    end
def progress(arr, options = {})
      bar = ProgressBar.new arr.length, options
      bar.show
      arr.each { |v| bar.increment yield(v) }
    end
Output progress while iterating _arr_.

 === Examples

   uris = %w( http://vision-media.ca http://google.com )
   progress uris, :format => "Remaining: :time_remaining" do |uri|
     res = open uri
   end