From 49b13bc1d8764d5ae8a44f0c393cf37676a3d207 Mon Sep 17 00:00:00 2001 From: Markus Schirp Date: Wed, 1 Aug 2012 14:38:48 +0200 Subject: [PATCH] Use better variable name for mutant --- lib/mutant/mutator/call.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/mutant/mutator/call.rb b/lib/mutant/mutator/call.rb index 9f0f9a04..02eeed1a 100644 --- a/lib/mutant/mutator/call.rb +++ b/lib/mutant/mutator/call.rb @@ -42,11 +42,11 @@ module Mutant end def emit_explicit_self_receiver - mutatee = dup_node - mutatee.privately = false + mutant = dup_node + mutant.privately = false # TODO: Fix rubinius to allow this as an attr_accessor - mutatee.instance_variable_set(:@vcall_style,false) - emit_safe(mutatee) + mutant.instance_variable_set(:@vcall_style,false) + emit_safe(mutant) end # Emit mutations