Sha256: 35cb7c74cb4f09b39c9277b77325cde7f19a59a0812eba3747f2bbb711cd36c8
Contents?: true
Size: 435 Bytes
Versions: 51
Compression:
Stored size: 435 Bytes
Contents
# frozen_string_literal: true module Mutant class Matcher # Matcher chaining results of other matchers together class Chain < self include Concord.new(:matchers) # Call matcher # # @param [Env] env # # @return [Enumerable<Subject>] def call(env) matchers.flat_map do |matcher| matcher.call(env) end end end # Chain end # Matcher end # Mutant
Version data entries
51 entries across 51 versions & 1 rubygems