Method: Ulock.decrypt_file
- Defined in:
- lib/ulock.rb
.decrypt_file(encrypted_filename) ⇒ Object
35 36 37 38 |
# File 'lib/ulock.rb', line 35 def decrypt_file(encrypted_filename) dest_filename = encrypted_filename.gsub('.gpg', '') `gpg -d #{encrypted_filename} > #{dest_filename}` end |