Sha256: f47c23aa5ea38bd730b38258928882421751aeb8f3207a5906d86f9240ca1dd8
Contents?: true
Size: 319 Bytes
Versions: 17
Compression:
Stored size: 319 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) Progress.start(name, self) do times do |i| yield i Progress.step end end end end
Version data entries
17 entries across 17 versions & 1 rubygems