Method: Puppet::ModuleTool::Applications::Unpacker#tmpdir
- Defined in:
- lib/puppet/module_tool/applications/unpacker.rb
#tmpdir ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Obtain a suitable temporary path for unpacking tarballs
rubocop:disable Naming/MemoizedInstanceVariableName
96 97 98 |
# File 'lib/puppet/module_tool/applications/unpacker.rb', line 96 def tmpdir @dir ||= Dir.mktmpdir('tmp', Puppet::Forge::Cache.base_path) end |