Sha256: 28b49b62a18a2c21911ae39bc675e65de6d1499f7fc156a3d31fa5859e5836fd
Contents?: true
Size: 663 Bytes
Versions: 21
Compression:
Stored size: 663 Bytes
Contents
module Mutant class Matcher # Matcher for specific namespace class Scope < self include Concord::Public.new(:cache, :scope) MATCHERS = [ Matcher::Methods::Singleton, Matcher::Methods::Instance ].freeze # Enumerate subjects # # @return [self] # if block given # # @return [Enumerator<Subject>] # otherwise # # @api private # def each(&block) return to_enum unless block_given? MATCHERS.each do |matcher| matcher.each(cache, scope, &block) end self end end # Scope end # Matcher end # Mutant
Version data entries
21 entries across 21 versions & 1 rubygems