Sha256: 0f6d417d6a43b52c7982bcffea8b032f5c00530913dfdab65f610892b92ad641

Contents?: true

Size: 342 Bytes

Versions: 8

Compression:

Stored size: 342 Bytes

Contents

# frozen_string_literal: true

module RubyGPG2
  module Commands
    module Mixins
      module ArmorConfig
        def configure_command(builder, opts)
          armor = opts[:armor]

          builder = super(builder, opts)
          builder = builder.with_flag('--armor') if armor
          builder
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ruby_gpg2-0.11.0.pre.4 lib/ruby_gpg2/commands/mixins/armor_config.rb
ruby_gpg2-0.11.0.pre.3 lib/ruby_gpg2/commands/mixins/armor_config.rb
ruby_gpg2-0.11.0.pre.2 lib/ruby_gpg2/commands/mixins/armor_config.rb
ruby_gpg2-0.11.0.pre.1 lib/ruby_gpg2/commands/mixins/armor_config.rb
ruby_gpg2-0.10.0 lib/ruby_gpg2/commands/mixins/armor_config.rb
ruby_gpg2-0.9.0.pre.9 lib/ruby_gpg2/commands/mixins/armor_config.rb
ruby_gpg2-0.9.0.pre.8 lib/ruby_gpg2/commands/mixins/armor_config.rb
ruby_gpg2-0.9.0.pre.7 lib/ruby_gpg2/commands/mixins/armor_config.rb