# File test/tools.rb, line 28 def self.untar(file) file = File.expand_path(file, DATADIR) dir = self.tempdir Dir.chdir(dir) do system("tar xf #{file}") end dir end