method

extract_tar_gz

v2_2_9 - Show latest stable - Class: Gem::Package
extract_tar_gz(io, destination_dir, pattern = "*")
public

Extracts all the files in the gzipped tar archive io into destination_dir.

If an entry in the archive contains a relative path above destination_dir or an absolute path is encountered an exception is raised.

If pattern is specified, only entries matching that glob will be extracted.