lib/dump/reader.rb in dump-1.2.0 vs lib/dump/reader.rb in dump-1.2.1

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + require 'dump/snapshot' require 'dump/archive_tar_minitar' require 'dump/assets' require 'progress' require 'rake' @@ -27,10 +29,10 @@ # Helper class for building summary of dump class Summary attr_reader :text alias_method :to_s, :text def initialize - @text = '' + @text = ''.dup end def header(header) @text << " #{header}:\n" end