Module: RubyGPG2::Commands::Mixins::BatchConfig
- Included in:
- Decrypt, Encrypt, ExportSecretKeys, GenerateKey, Import
- Defined in:
- lib/ruby_gpg2/commands/mixins/batch_config.rb
Instance Method Summary collapse
Instance Method Details
#configure_command(builder, opts) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/ruby_gpg2/commands/mixins/batch_config.rb', line 5 def configure_command(builder, opts) batch = opts[:batch].nil? ? true : opts[:batch] builder = super(builder, opts) builder = builder.with_flag('--batch') if batch builder end |