Sha256: 17b1a9ccc6bce8b9456a9506f021f28ea2f699f4f8b1f9629bc65855fae1c15b

Contents?: true

Size: 347 Bytes

Versions: 8

Compression:

Stored size: 347 Bytes

Contents

module Mutant
  class Matcher
    # A null matcher, that does not match any subjects
    class Null < self
      include Concord.new

      # Enumerate subjects
      #
      # @param [Env::Bootstrap] env
      #
      # @return [Enumerable<Subject>]
      def call(_env)
        EMPTY_ARRAY
      end

    end # Null
  end # Matcher
end # Mutant

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mutant-0.8.16 lib/mutant/matcher/null.rb
mutant-0.8.15 lib/mutant/matcher/null.rb
mutant-0.8.14 lib/mutant/matcher/null.rb
mutant-0.8.13 lib/mutant/matcher/null.rb
mutant-0.8.12 lib/mutant/matcher/null.rb
mutant-0.8.11 lib/mutant/matcher/null.rb
mutant-0.8.10 lib/mutant/matcher/null.rb
mutant-0.8.9 lib/mutant/matcher/null.rb