Use more descriptive method nameing
This commit is contained in:
parent
4015519987
commit
57e74f2daf
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue