Sha256: 28e168b1ff36519d5bcf11b5d2c3a436d8bd1fc0fd302ada244a580a194e7ccf
Contents?: true
Size: 491 Bytes
Versions: 171
Compression:
Stored size: 491 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? options = action.input[:options] if options && options['matching_content'] self.action.output[:matching_content_skip] = true false else true end end end end end
Version data entries
171 entries across 171 versions & 1 rubygems