src/kotopub_downloader/epub_generator.rb
# Initialize with the directory to zip and the location of the output archive
Initialize with the directory to zip and the location of the output archive
Initialize with the directory to zip and the location of the output archive
def mimetype_entry(zipfile)
    mimetype = Zip::Entry.new(zipfile, 'mimetype')
    mimetype.compression_method = Zip::Entry::STORED
    mimetype
  end
def mimetype_entry ( zipfile ) mimetype = Zip :: Entry . new ( zipfile , 'mimetype' ) mimetype . compression_method = Zip :: Entry :: STORED mimetype end
Initialize with the directory to zip and the location of the output archive
Initialize with the directory to zip and the location of the output archive
zipfile