def write_zip_file_to zip_file
        Zip::File.open(zip_file, Zip::File::CREATE) do |zip|
          @contents.each do |filepath, content|
            zip.get_output_stream(filepath) do |zipfile|
              zipfile.write content
            end
          end
        end
      end
def write_zip_file_to zip_file
        Zip::File.open(zip_file, Zip::File::CREATE) do |zip|
          @contents.each do |filepath, content|
            zip.get_output_stream(filepath) do |zipfile|
              zipfile.write content
            end
          end
        end
      end
Write the processed <tt>@contents</tt> to
 a zip archive using Zip.