lib/mutant/mutator/node/defined.rb in mutant-0.5.19 vs lib/mutant/mutator/node/defined.rb in mutant-0.5.20

- old
+ new

@@ -1,7 +1,5 @@ -# encoding: utf-8 - module Mutant class Mutator class Node # Namespace for define mutations class Defined < self @@ -18,10 +16,10 @@ # # @api private # def dispatch emit_expression_mutations do |node| - !node.type.equal?(:self) + !n_self?(node) end end end # Defined end # Node