lib/pragmater/writer.rb in pragmater-6.1.0 vs lib/pragmater/writer.rb in pragmater-6.2.0

- old
+ new

@@ -57,10 +57,10 @@ lines.insert comment_count, "\n" end # :reek:UtilityFunction def remove_spacing! lines - lines.delete_at(0) if lines.first == "\n" + lines.delete_at 0 if lines.first == "\n" end def write File.open(file_path, "w") { |file| file.write yield } end