Rename singleton subclass instance helper

This commit is contained in:
Markus Schirp 2013-04-27 18:29:55 +02:00
parent f730590d4d
commit 86c44e882f
2 changed files with 2 additions and 2 deletions

View file

@ -54,7 +54,7 @@ module Mutant
end end
# Mutation filter matching all mutations # Mutation filter matching all mutations
Mutant.define_singleton_subclass('ALL', self) do Mutant.singleton_subclass_instance('ALL', self) do
# Test for match # Test for match
# #

View file

@ -10,7 +10,7 @@ module Mutant
# #
# @api private # @api private
# #
def self.define_singleton_subclass(name, superclass, &block) def self.singleton_subclass_instance(name, superclass, &block)
klass = Class.new(superclass) do klass = Class.new(superclass) do
def inspect; self.class.name; end def inspect; self.class.name; end