class RubyXL::MyZip
def unzip(zipPath,zipDirPath)
def unzip(zipPath,zipDirPath) Zip::ZipFile.open(zipPath) { |zip_file| zip_file.each { |f| fpath = File.join(zipDirPath, f.name) FileUtils.mkdir_p(File.dirname(fpath)) zip_file.extract(f, fpath) unless File.exist?(fpath) } } end