Sha256: 5bf3f4a301e968c4daeaee9323bc2ee0938192f618027198275e1fb35930f89e
Contents?: true
Size: 291 Bytes
Versions: 7
Compression:
Stored size: 291 Bytes
Contents
# encoding: UTF-8 module Tetra # encapsulates unzip class Unzip include ProcessRunner # decompresses a file in a target directory def decompress(zipfile, directory) result = run("unzip #{zipfile} -d #{directory}") result.strip if result != "" end end end
Version data entries
7 entries across 7 versions & 1 rubygems