Stand in replacement for Enumerable#each that prints a progress bar to the console
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.rvmrc
Readme
each_with_progress-0.0.1.gem
each_with_progress-0.1.gem
each_with_progress.gemspec

Readme

Each With Progress Version 0.1
--------------------------------
Version .1 Update
--------------------------------
Now returns the enumerable you're looping over to be more in line with the other each methods.

--------------------------------
Works exactly the same as Enumerable#each but prints a progress bar to the console on each iteration

Example:

my_huge_array.each_with_progress do |i|
  puts "doing some awesome thing to this array element"
end