lib/zipper.rb
def write
            buffer = create_zip(@entries, @ignore_entries)

            puts "\nwrite file #{@output_file}"
            File.open(@output_file, "wb") {|f| f.write buffer.string }
        end
def write
            buffer = create_zip(@entries, @ignore_entries)

            puts "\nwrite file #{@output_file}"
            File.open(@output_file, "wb") {|f| f.write buffer.string }
        end
def write buffer = create_zip ( @entries , @ignore_entries ) puts "\nwrite file #{@output_file}" File . open ( @output_file , "wb" ) { | f | f . write buffer . string } end
Initialize with the json config.
 Zip the input entries.
Initialize with the json config . Zip the input entries .