lib/mutant/differ.rb in mutant-0.3.0.beta21 vs lib/mutant/differ.rb in mutant-0.3.0.beta22

- old
+ new

@@ -1,5 +1,7 @@ +# encoding: utf-8 + module Mutant # Class to create diffs from source code class Differ include Adamantium::Flat, Concord.new(:old, :new) @@ -17,13 +19,19 @@ output = '' case diffs.length when 0 nil when 1 - output = Diff::LCS::Hunk.new(old, new, diffs.first, max_length, 0).diff(:unified) + output = + Diff::LCS::Hunk.new( + old, new, diffs.first, max_length, 0 + ).diff(:unified) output << "\n" else - $stderr.puts 'Mutation resulted in more than one diff, should not happen! PLS report a bug!' + $stderr.puts( + 'Mutation resulted in more than one diff, should not happen! ' + + 'PLS report a bug!' + ) nil end end memoize :diff