Class: Suitcase::UnZipper

Inherits:
Object
  • Object
show all
Defined in:
lib/suitcase/unzipper.rb

Class Method Summary collapse

Class Method Details

.unzip!(filepath, to = Dir.pwd) ⇒ Object

TODO: Add a meaningful, portable unzip!



9
10
11
12
# File 'lib/suitcase/unzipper.rb', line 9

def self.unzip!(filepath, to=Dir.pwd)
  # tgz = Zlib::GzipReader.new(File.open(filepath, 'rb'))      
  # Archive::Tar::Minitar.unpack( tgz, to )
end