Sha256: b1d856af6ebb4d026a9aadd39a0e6ffba07c6e6c62eb8ca413aa37233720cb03
Contents?: true
Size: 383 Bytes
Versions: 1
Compression:
Stored size: 383 Bytes
Contents
module Stages class SubStage < Stage def initialize(pipeline) @pipeline = pipeline @cache = [] super() end def process while value = input subpipe = Emit.new(value) | @pipeline while v = subpipe.run output v end @pipeline.drop_leftmost! @pipeline.continue end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stages-0.1.1 | lib/stages/sub_stage.rb |