Use more descriptive method nameing

This commit is contained in:
Markus Schirp 2013-09-11 22:06:32 +02:00
parent 4015519987
commit 57e74f2daf
2 changed files with 2 additions and 2 deletions

View file

@ -193,7 +193,7 @@ module Mutant
#
def parse_matchers(patterns)
patterns.each do |pattern|
matcher = Classifier.build(@cache, pattern)
matcher = Classifier.run(@cache, pattern)
@matchers << matcher if matcher
end
end

View file

@ -65,7 +65,7 @@ module Mutant
#
# @api private
#
def self.build(cache, pattern)
def self.run(cache, pattern)
matches = find(pattern)
case matches.length
when 0