module RubyGPG2::Commands::Mixins::WithoutPassphrase

Public Instance Methods

configure_command(builder, opts) click to toggle source
Calls superclass method
# File lib/ruby_gpg2/commands/mixins/without_passphrase.rb, line 5
def configure_command(builder, opts)
  without_passphrase = opts[:without_passphrase]
  super(builder, without_passphrase ?
      opts.merge(passphrase: '', pinentry_mode: :loopback) :
      opts)
end