Sha256: 80e6727b6e5fc6cad8c59fe7706f5024df7610282b36a88a437a7fefd230828c
Contents?: true
Size: 245 Bytes
Versions: 2
Compression:
Stored size: 245 Bytes
Contents
module InchByInch class ProgressEnumerable include Enumerable def initialize(array) @array = Array(array) end def each @array.each do |e| print '.' yield e end.tap { puts } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
inch_by_inch-1.0.1 | lib/inch_by_inch/progress_enumerable.rb |
inch_by_inch-1.0.0 | lib/inch_by_inch/progress_enumerable.rb |