Sha256: eefe9e7ba765809c1ceebf9b4722a1e15e28702ba90dc904ada4e0b8c09d6fe4
Contents?: true
Size: 494 Bytes
Versions: 45
Compression:
Stored size: 494 Bytes
Contents
module Actions module Middleware class SkipIfMatchingContent < Dynflow::Middleware def run(*args) pass(*args) if execute? end def finalize(*args) pass(*args) if execute? end private def execute? if action.input.keys.include?('matching_content') && action.input['matching_content'] self.action.output[:matching_content_skip] = true false else true end end end end end
Version data entries
45 entries across 45 versions & 1 rubygems