Sha256: 7a181d4dc185a33f73bef24823d19cd07ef30fcefdacca8e98c271bd4f2742e2
Contents?: true
Size: 628 Bytes
Versions: 20
Compression:
Stored size: 628 Bytes
Contents
Foobara.require_project_file("value", "processor/multi") module Foobara module Value class Processor class Pipeline < Multi class << self def foobara_manifest(to_include:) # :nocov: super.merge(processor_type: :pipeline) # :nocov: end end def process_outcome(old_outcome) processors.inject(old_outcome) do |outcome, processor| processor.process_outcome(outcome) end end def process_value(value) process_outcome(Outcome.success(value)) end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems