File Directory Ruby

require 'tempfile'
out = Tempfile.new("myhome_tempfile", "/home/leonardr/temp/")