free_mutant/lib/mutant/matcher/static.rb
2015-11-15 23:13:43 +00:00

15 lines
314 B
Ruby

module Mutant
class Matcher
# Matcher returning subjects already known at its creation time
class Static
include Concord.new(:subjects)
# Call matcher
#
# @return [Enumerable<Subject>]
def call(_env)
subjects
end
end # Static
end # Matcher
end # Mutant