Class: GpgEncryptFile

Inherits:
Object
  • Object
show all
Defined in:
lib/gpg_encrypt_folder.rb

Instance Method Summary collapse

Instance Method Details

#callObject



34
35
36
37
38
39
# File 'lib/gpg_encrypt_folder.rb', line 34

def call
  err = Open3.popen3(gpg_command) do |_stdin, _stdout, stderr|
    stderr.read
  end
  raise "Error encrypting UKRDC files: #{err}" unless err.empty?
end