Skip to content
class method

Pathname.mktmpdir

mktmpdir() { |dir| ... }

Creates a tmp directory and wraps the returned path in a Pathname object.

Note that you need to require ‘pathname’ to use this method.

See Dir.mktmpdir

See also .glob .new .getwd .pwd also in 4.1 · 3.4