Class: CryptReboot::SafeTemp::Directory
- Inherits:
-
Object
- Object
- CryptReboot::SafeTemp::Directory
- Defined in:
- lib/crypt_reboot/safe_temp/directory.rb
Overview
Create temporary directory, mounts ramfs and yields tmp dir location. Make sure to cleanup afterwards.
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/crypt_reboot/safe_temp/directory.rb', line 10 def call tmp_maker.call do |dir| mounter.call(dir) do yield dir end end end |