Sha256: 6e61c694cece53f588749fd91681fcbd9c79715d08ec8db50efccdfd20ebf655
Contents?: true
Size: 520 Bytes
Versions: 19
Compression:
Stored size: 520 Bytes
Contents
module Mutant class Matcher # A chain of matchers class Chain < self include Concord.new(:matchers) # Enumerate subjects # # @return [Enumerator<Subject] # if no block given # # @return [self] # otherwise # # @api private # def each(&block) return to_enum unless block_given? matchers.each do |matcher| matcher.each(&block) end self end end # Chain end # Matcher end # Mutant
Version data entries
19 entries across 19 versions & 1 rubygems