Sha256: 1d27c97a2f8985db0560fef91071092e2ea9ded2c5c705678a3d6ed815318ff1
Contents?: true
Size: 301 Bytes
Versions: 15
Compression:
Stored size: 301 Bytes
Contents
module Stages class ResumeCount < Stage def input result = Hash.new{ |h, k| h[k] = 0 } while v = source.run result[v] += 1 end continued = @source.reset if continued.nil? nil else { continued => result} end end end end
Version data entries
15 entries across 15 versions & 1 rubygems