How to create temp dir in Ruby?

Viewed 18773

How do I create a temporary directory in Ruby in a nice way? I would also like to delete it automatically on process exit. Thanks!

2 Answers
Related