Remove unused in-mutator mutation filter
This commit is contained in:
parent
3d499fe61c
commit
8e6579ce4d
1 changed files with 1 additions and 17 deletions
|
@ -97,22 +97,6 @@ module Mutant
|
|||
@seen << self.class.identity(object)
|
||||
end
|
||||
|
||||
# Test if generated mutation is allowed
|
||||
#
|
||||
# @param [Object] object
|
||||
#
|
||||
# @return [true]
|
||||
# if mutation is allowed
|
||||
#
|
||||
# @return [false]
|
||||
# otherwise
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
def allow?(object)
|
||||
true
|
||||
end
|
||||
|
||||
# Dispatch node generations
|
||||
#
|
||||
# @return [undefined]
|
||||
|
@ -130,7 +114,7 @@ module Mutant
|
|||
# @api private
|
||||
#
|
||||
def emit(object)
|
||||
return unless new?(object) and allow?(object)
|
||||
return unless new?(object)
|
||||
|
||||
guard(object)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue