class Tempdir
Overview
Creates a temporary directory.
Defined in:
tempdir.crConstant Summary
-
VERSION =
"1.0.1"
Constructors
-
.new(**args)
Creates a new temporary directory.
Instance Method Summary
-
#close
Close temporary directory and remove its entries.
Class methods inherited from class Dir
mktmpdir(**args)mktmpdir(**args, &) mktmpdir
Constructor Detail
def self.new(**args)
#
Creates a new temporary directory.
The given arguments will be passed to File.tempname
as-is.
Directory will be created with 0o700 permission.
This method raises ArgumentError if parent directory of created directory is writable by others and not skicky bit is set.