Sha256: caf168fcadc87ffc3db05563cdc8a207f17086fbe7c609ae89fbccbd1645aaf7
Contents?: true
Size: 342 Bytes
Versions: 6
Compression:
Stored size: 342 Bytes
Contents
class Integer # note that Progress.step is called automatically # ==== Example # 100.times_with_progress('Numbers') do |number| # sleep(number) # end def times_with_progress(name, options = {}) Progress.start(name, self, options) do times do |i| yield i Progress.step end end end end
Version data entries
6 entries across 6 versions & 1 rubygems