free_mutant/lib/mutant/matcher.rb

28 lines
489 B
Ruby
Raw Normal View History

module Mutant
# Abstract matcher to find subjects to mutate
class Matcher
2012-11-26 05:30:00 -05:00
include Adamantium::Flat, Enumerable, AbstractType
extend DescendantsTracker
2012-08-01 12:34:03 -04:00
# Enumerate subjects
#
# @api private
#
# @return [self]
# if block given
#
# @return [Enumerabe<Subject>]
# otherwise
#
abstract_method :each
# Return identification
#
# @return [String
#
# @api private
#
abstract_method :identification
end
end