Fichiers temporaires Ruby

require "tempfile"

# Creates a file and returns the file object.
file = Tempfile.new ""
file << "Hello, World!"
file.close
Real Raccoon