Method: Bookbinder::FileSystem::ZipFile#initialize

Defined in:
lib/bookbinder/file_system/zip_file.rb

#initialize(path) ⇒ ZipFile

Returns a new instance of ZipFile.



3
4
5
6
7
# File 'lib/bookbinder/file_system/zip_file.rb', line 3

def initialize(path)
  @zipfile_path = path
  @zipfile = nil
  instantiate_zipfile  if File.exists?(@zipfile_path)
end