Module: RubyGPG2::Commands::Mixins::PinentryConfig
- Included in:
- Decrypt, ExportSecretKeys, GenerateKey
- Defined in:
- lib/ruby_gpg2/commands/mixins/pinentry_config.rb
Instance Method Summary collapse
Instance Method Details
#configure_command(builder, opts) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/ruby_gpg2/commands/mixins/pinentry_config.rb', line 5 def configure_command(builder, opts) pinentry_mode = opts[:pinentry_mode] builder = super(builder, opts) builder = builder.with_option( '--pinentry-mode', pinentry_mode) if pinentry_mode builder end |