Sha256: bed55a71c85f683cc31bee3fdec999ddc91062a6a318ec74226ecf24f2a9aa72

Contents?: true

Size: 338 Bytes

Versions: 38

Compression:

Stored size: 338 Bytes

Contents

module RubyGPG2
  module Commands
    module Mixins
      module BatchConfig
        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
      end
    end
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
ruby_gpg2-0.1.0.pre.21 lib/ruby_gpg2/commands/mixins/batch_config.rb
ruby_gpg2-0.1.0.pre.20 lib/ruby_gpg2/commands/mixins/batch_config.rb
ruby_gpg2-0.1.0.pre.19 lib/ruby_gpg2/commands/mixins/batch_config.rb
ruby_gpg2-0.1.0.pre.18 lib/ruby_gpg2/commands/mixins/batch_config.rb
ruby_gpg2-0.1.0.pre.17 lib/ruby_gpg2/commands/mixins/batch_config.rb
ruby_gpg2-0.1.0.pre.16 lib/ruby_gpg2/commands/mixins/batch_config.rb
ruby_gpg2-0.1.0.pre.15 lib/ruby_gpg2/commands/mixins/batch_config.rb
ruby_gpg2-0.1.0.pre.14 lib/ruby_gpg2/commands/mixins/batch_config.rb
ruby_gpg2-0.1.0.pre.13 lib/ruby_gpg2/commands/mixins/batch_config.rb
ruby_gpg2-0.1.0.pre.12 lib/ruby_gpg2/commands/mixins/batch_config.rb
ruby_gpg2-0.1.0.pre.11 lib/ruby_gpg2/commands/mixins/batch_config.rb
ruby_gpg2-0.1.0.pre.10 lib/ruby_gpg2/commands/mixins/batch_config.rb
ruby_gpg2-0.1.0.pre.9 lib/ruby_gpg2/commands/mixins/batch_config.rb
ruby_gpg2-0.1.0.pre.8 lib/ruby_gpg2/commands/mixins/batch_config.rb
ruby_gpg2-0.1.0.pre.7 lib/ruby_gpg2/commands/mixins/batch_config.rb
ruby_gpg2-0.1.0.pre.6 lib/ruby_gpg2/commands/mixins/batch_config.rb
ruby_gpg2-0.1.0.pre.5 lib/ruby_gpg2/commands/mixins/batch_config.rb
ruby_gpg2-0.1.0.pre.4 lib/ruby_gpg2/commands/mixins/batch_config.rb