Module: RubyGPG2::Commands::Mixins::WithResult
- Included in:
- GenerateKey, Import, ListPublicKeys, ListSecretKeys
- Defined in:
- lib/ruby_gpg2/commands/mixins/with_result.rb
Instance Method Summary collapse
Instance Method Details
#do_after(opts) ⇒ Object
7 8 9 10 11 12 |
# File 'lib/ruby_gpg2/commands/mixins/with_result.rb', line 7 def do_after(opts) result = super(opts) result.output = opts[:output] if opts[:output] result.status = opts[:status] if opts[:status] result end |