-
codeindsgn posted this
One of Ruby's better-kept secrets: how to get temporary directory →
Here’s how
require 'tmpdir'
puts Dir.tmpdir