Sha256: 39c953cbbab9e1a6fab2314fe172bf6659dbdab986f62c5f6a4c45c33a8f0c61

Contents?: true

Size: 732 Bytes

Versions: 4

Compression:

Stored size: 732 Bytes

Contents

require 'lino'

require_relative 'base'
require_relative 'mixins/global_config'
require_relative 'mixins/batch_config'
require_relative 'mixins/armor_config'
require_relative 'mixins/input_config'
require_relative 'mixins/output_config'
require_relative 'mixins/recipient_config'

module RubyGPG2
  module Commands
    class Encrypt < Base
      include Mixins::GlobalConfig
      include Mixins::BatchConfig
      include Mixins::ArmorConfig
      include Mixins::InputConfig
      include Mixins::OutputConfig
      include Mixins::RecipientConfig

      def configure_command(builder, opts)
        builder = super(builder, opts)
        builder = builder.with_subcommand('--encrypt')
        builder
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby_gpg2-0.1.0.pre.26 lib/ruby_gpg2/commands/encrypt.rb
ruby_gpg2-0.1.0.pre.25 lib/ruby_gpg2/commands/encrypt.rb
ruby_gpg2-0.1.0.pre.24 lib/ruby_gpg2/commands/encrypt.rb
ruby_gpg2-0.1.0.pre.23 lib/ruby_gpg2/commands/encrypt.rb