A
Albert Schlef
I'm writing a program that needs to generate two or three temporary
files.
(Specifically: my program runs a shell command and I need to pass the
shell command a path to a non-existing file which it will dump data to.)
Is there a 'gem' that manages these things? Preferably it should remove
the files when the script finishes or whatever.
Of course, if Ruby supports this built-in that's fine too (I did 'ri
File' and 'ri FileUtils' but founds nothing).
files.
(Specifically: my program runs a shell command and I need to pass the
shell command a path to a non-existing file which it will dump data to.)
Is there a 'gem' that manages these things? Preferably it should remove
the files when the script finishes or whatever.
Of course, if Ruby supports this built-in that's fine too (I did 'ri
File' and 'ri FileUtils' but founds nothing).