Cleanup method matcher
This commit is contained in:
parent
71f0c108f9
commit
6673cec705
1 changed files with 3 additions and 4 deletions
|
@ -73,11 +73,10 @@ module Mutant
|
|||
# @api private
|
||||
#
|
||||
def candidate_names
|
||||
object = candidate_scope
|
||||
names =
|
||||
object.public_instance_methods(false) +
|
||||
object.private_instance_methods(false) +
|
||||
object.protected_instance_methods(false)
|
||||
candidate_scope.public_instance_methods(false) +
|
||||
candidate_scope.private_instance_methods(false) +
|
||||
candidate_scope.protected_instance_methods(false)
|
||||
names.sort
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue