Class: GpgEncryptFile
- Inherits:
-
Object
- Object
- GpgEncryptFile
- Defined in:
- lib/gpg_encrypt_folder.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
37 38 39 40 41 42 |
# File 'lib/gpg_encrypt_folder.rb', line 37 def call err = Open3.popen3(gpg_command) do |_stdin, _stdout, stderr| stderr.read end raise "Error encrypting UKRDC files: #{err}, #{gpg_command}" unless err.empty? end |