class Berkshelf::CommunityREST
def unpack(target, destination)
-
(String)-
Parameters:
-
destination(String) -- -
target(String) --
def unpack(target, destination) if is_gzip_file(target) || is_tar_file(target) Mixlib::Archive.new(target).extract(destination) else raise Berkshelf::UnknownCompressionType.new(target, destination) end destination end