Rename singleton subclass instance helper
This commit is contained in:
parent
f730590d4d
commit
86c44e882f
2 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ module Mutant
|
|||
end
|
||||
|
||||
# Mutation filter matching all mutations
|
||||
Mutant.define_singleton_subclass('ALL', self) do
|
||||
Mutant.singleton_subclass_instance('ALL', self) do
|
||||
|
||||
# Test for match
|
||||
#
|
||||
|
|
|
@ -10,7 +10,7 @@ module Mutant
|
|||
#
|
||||
# @api private
|
||||
#
|
||||
def self.define_singleton_subclass(name, superclass, &block)
|
||||
def self.singleton_subclass_instance(name, superclass, &block)
|
||||
klass = Class.new(superclass) do
|
||||
|
||||
def inspect; self.class.name; end
|
||||
|
|
Loading…
Reference in a new issue