Sha256: 80c514ecf0607b070fda2c55878c6d08da7d60450fe2fc2130ffbf74ebc4e9d9
Contents?: true
Size: 175 Bytes
Versions: 3
Compression:
Stored size: 175 Bytes
Contents
module Enumerable def each_with_progress(name) Progress.start(name, length) do each do |item| yield item Progress.step end end end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
toy-progress-0.0.1 | lib/enumerable.rb |
toy-progress-0.0.2 | lib/enumerable.rb |
progress-0.0.1 | lib/enumerable.rb |