Sha256: a73fcc9dc285490cdae28c8b52e31c6d20d9abfa6e0841933af278fb92c53055
Contents?: true
Size: 478 Bytes
Versions: 7
Compression:
Stored size: 478 Bytes
Contents
require_relative 'expand_condition/sequence' module Gitlab module Triage module ExpandCondition PIPELINE = [ Sequence ].freeze def self.perform(conditions, pipeline = PIPELINE, &block) expand([conditions], pipeline).each(&block) end def self.expand(conditions, pipeline = PIPELINE) pipeline.inject(conditions) do |result, job| result.flat_map(&job.method(:expand)) end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems