Class: CryptReboot::CryptTab::KeyfileLocator

Inherits:
Object
  • Object
show all
Defined in:
lib/crypt_reboot/crypt_tab/keyfile_locator.rb

Overview

Return path of keyfile for given target

Instance Method Summary collapse

Instance Method Details

#call(target) ⇒ Object



7
8
9
# File 'lib/crypt_reboot/crypt_tab/keyfile_locator.rb', line 7

def call(target)
  File.join(base_dir, target + extension)
end