class Mutest::Matcher::Chain

Matcher chaining results of other matchers together

Public Instance Methods

call(env) click to toggle source

Call matcher

@param [Env::Bootstrap] env

@return [Enumerable<Subject>]

# File lib/mutest/matcher/chain.rb, line 12
def call(env)
  matchers.flat_map do |matcher|
    matcher.call(env)
  end
end