From a53217f83c7e17612b26bc9d553bb9970cb3cf94 Mon Sep 17 00:00:00 2001 From: Markus Schirp Date: Tue, 22 Apr 2014 17:49:55 +0000 Subject: [PATCH] Fix overlong line with horrible formatting --- lib/mutant/mutator/node/send.rb | 5 ++++- lib/mutant/mutator/node/send/attribute_assignment.rb | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/mutant/mutator/node/send.rb b/lib/mutant/mutator/node/send.rb index 729f1d8a..cd2a3a38 100644 --- a/lib/mutant/mutator/node/send.rb +++ b/lib/mutant/mutator/node/send.rb @@ -180,7 +180,10 @@ module Mutant # @api private # def emit_implicit_self - if receiver.type == :self && !KEYWORDS.include?(selector) && !attribute_assignment? && !OP_ASSIGN.include?(parent_type) + if receiver.type == :self && + !KEYWORDS.include?(selector) && + !attribute_assignment? && + !OP_ASSIGN.include?(parent_type) emit_receiver(nil) end end diff --git a/lib/mutant/mutator/node/send/attribute_assignment.rb b/lib/mutant/mutator/node/send/attribute_assignment.rb index ad7b85ec..2e891f40 100644 --- a/lib/mutant/mutator/node/send/attribute_assignment.rb +++ b/lib/mutant/mutator/node/send/attribute_assignment.rb @@ -49,4 +49,3 @@ module Mutant end # Node end # Mutator end # Mutant -