Remove dead code
This commit is contained in:
parent
49b09eeeac
commit
ac15f13b3c
1 changed files with 0 additions and 21 deletions
|
@ -20,27 +20,6 @@ module Mutant
|
|||
#
|
||||
abstract_method :match?
|
||||
|
||||
# Build predicate from string
|
||||
#
|
||||
# @param [String] notation
|
||||
#
|
||||
# @return [Filter]
|
||||
# when can be build from string
|
||||
#
|
||||
# @return [nil]
|
||||
# otherwise
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
def self.build(notation)
|
||||
descendants.each do |descendant|
|
||||
predicate = descendant.handle(notation)
|
||||
return predicate if predicate
|
||||
end
|
||||
|
||||
nil
|
||||
end
|
||||
|
||||
# Return predicate for handle
|
||||
#
|
||||
# @param [String] _notation
|
||||
|
|
Loading…
Reference in a new issue