Sha256: fff56cddafcf3eebdc83db2150fae4bfb6a6538e5782dd12e8c6e02a2c855011
Contents?: true
Size: 224 Bytes
Versions: 2
Compression:
Stored size: 224 Bytes
Contents
class Germinate::Pipeline attr_reader :processes def initialize(processes) @processes = processes end def call(input) @processes.inject(input) { |output, process| process.call(output) } end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
devver-germinate-1.2.0 | lib/germinate/pipeline.rb |
germinate-1.2.0 | lib/germinate/pipeline.rb |