Sha256: 5f216e3d3e3af4936ffd74be12fd37b53ecb5b0819e78cf96a8f68b2e1f792ef
Contents?: true
Size: 433 Bytes
Versions: 1
Compression:
Stored size: 433 Bytes
Contents
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>] # # @api private def call(env) matchers.flat_map do |matcher| matcher.call(env) end end end # Chain end # Matcher end # Mutant
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mutant-0.8.8 | lib/mutant/matcher/chain.rb |