Sha256: 25957de68ea7e2a103387798fa9da45054e5c4749cd91bcfb3c40062b41556f3

Contents?: true

Size: 705 Bytes

Versions: 17

Compression:

Stored size: 705 Bytes

Contents

module Mutant
  # Abstract matcher to find subjects to mutate
  class Matcher
    include Adamantium::Flat, Enumerable, AbstractType

    # Default matcher build implementation
    #
    # @param [Env] env
    # @param [Object] input
    #
    # @return [undefined]
    #
    # @api private
    #
    def self.build(*arguments)
      new(*arguments)
    end

    # Enumerate subjects
    #
    # @api private
    #
    # @return [self]
    #   if block given
    #
    # @return [Enumerable<Subject>]
    #   otherwise
    #
    abstract_method :each

    # Return identification
    #
    # @return [String
    #
    # @api private
    #
    abstract_method :identification

  end # Matcher
end # Mutant

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
mutant-0.8.0 lib/mutant/matcher.rb
mutant-0.7.9 lib/mutant/matcher.rb
mutant-0.7.8 lib/mutant/matcher.rb
mutant-0.7.7 lib/mutant/matcher.rb
mutant-0.7.6 lib/mutant/matcher.rb
mutant-0.7.5 lib/mutant/matcher.rb
mutant-0.7.4 lib/mutant/matcher.rb
mutant-0.7.3 lib/mutant/matcher.rb
mutant-0.7.2 lib/mutant/matcher.rb
mutant-0.7.1 lib/mutant/matcher.rb
mutant-0.6.7 lib/mutant/matcher.rb
mutant-0.6.6 lib/mutant/matcher.rb
mutant-0.6.5 lib/mutant/matcher.rb
mutant-0.6.4 lib/mutant/matcher.rb
mutant-0.6.3 lib/mutant/matcher.rb
mutant-0.6.2 lib/mutant/matcher.rb
mutant-0.6.0 lib/mutant/matcher.rb