module RubyGPG2::Commands::Mixins::BatchConfig

Public Instance Methods

configure_command(builder, opts) click to toggle source
Calls superclass method
# 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