class Mixlib::Archive
def extract(destination, perms: true, ignore: [])
def extract(destination, perms: true, ignore: []) ignore = [/^\.$/, /\.{2}/] + Array(ignore) create_and_empty(destination) archiver.extract(destination, perms: perms, ignore: ignore) end