Remove Mutant::CLI::Classifier::Method#identification
* This is a duplicate of #identifer in the parent class
This commit is contained in:
parent
d922e14e02
commit
85aabae109
1 changed files with 1 additions and 11 deletions
|
@ -26,16 +26,6 @@ module Mutant
|
|||
SCOPE_SYMBOL_POSITION = 2
|
||||
METHOD_NAME_POSITION = 3
|
||||
|
||||
# Return identification
|
||||
#
|
||||
# @return [String]
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
def identification
|
||||
match.to_s
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
# Return method matcher
|
||||
|
@ -58,7 +48,7 @@ module Mutant
|
|||
def method
|
||||
methods_matcher.methods.detect do |method|
|
||||
method.name == method_name
|
||||
end or raise("Cannot find method #{identification}")
|
||||
end or raise "Cannot find method #{identifier}"
|
||||
end
|
||||
memoize :method, :freezer => :noop
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue