Sha256: 2d4bc5fd934b6a17a186d627eca907b13c22e422ced30e00911c74927b7416e0

Contents?: true

Size: 825 Bytes

Versions: 4

Compression:

Stored size: 825 Bytes

Contents

require 'lino'

require_relative 'base'
require_relative 'mixins/global_config'
require_relative 'mixins/batch_config'
require_relative 'mixins/input_config'
require_relative 'mixins/output_config'
require_relative 'mixins/passphrase_config'
require_relative 'mixins/pinentry_config'
require_relative 'mixins/without_passphrase'

module RubyGPG2
  module Commands
    class Decrypt < Base
      include Mixins::GlobalConfig
      include Mixins::BatchConfig
      include Mixins::InputConfig
      include Mixins::OutputConfig
      include Mixins::PassphraseConfig
      include Mixins::PinentryConfig
      include Mixins::WithoutPassphrase

      def configure_command(builder, opts)
        builder = super(builder, opts)
        builder = builder.with_subcommand('--decrypt')
        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/decrypt.rb
ruby_gpg2-0.1.0.pre.25 lib/ruby_gpg2/commands/decrypt.rb
ruby_gpg2-0.1.0.pre.24 lib/ruby_gpg2/commands/decrypt.rb
ruby_gpg2-0.1.0.pre.23 lib/ruby_gpg2/commands/decrypt.rb