lib/unzipper.rb
# Extracts files to a new directory named after the zip.
Extracts files to a new directory named after the zip.
Extracts files to a new directory named after the zip .
def update(zip_path, _)
    extract_path = zip_path.chomp('.zip') + '/'
    Dir.mkdir(extract_path) unless File.exist?(extract_path)
    extract_to_memory(zip_path, extract_path)
  end
def update ( zip_path , _ ) extract_path = zip_path . chomp ( '.zip' ) + '/' Dir . mkdir ( extract_path ) unless File . exist? ( extract_path ) extract_to_memory ( zip_path , extract_path ) end
Extracts files to a new directory named after the zip.
Extracts files to a new directory named after the zip .
zip_path
<not_specific>
_
<not_specific>