Sha256: 0dae06ee52337510d2b72c72010440446e77455e8f5242b43e70ec4bbc780fb5

Contents?: true

Size: 325 Bytes

Versions: 26

Compression:

Stored size: 325 Bytes

Contents

require 'stringio'

module RubyGPG2
  module Commands
    module Mixins
      module WithResult
        def do_after(opts)
          result = super(opts)
          result.output = opts[:output] if opts[:output]
          result.status = opts[:status] if opts[:status]
          result
        end
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
ruby_gpg2-0.9.0.pre.6 lib/ruby_gpg2/commands/mixins/with_result.rb
ruby_gpg2-0.9.0.pre.5 lib/ruby_gpg2/commands/mixins/with_result.rb
ruby_gpg2-0.9.0.pre.4 lib/ruby_gpg2/commands/mixins/with_result.rb
ruby_gpg2-0.9.0.pre.3 lib/ruby_gpg2/commands/mixins/with_result.rb
ruby_gpg2-0.9.0.pre.2 lib/ruby_gpg2/commands/mixins/with_result.rb
ruby_gpg2-0.9.0.pre.1 lib/ruby_gpg2/commands/mixins/with_result.rb
ruby_gpg2-0.8.0 lib/ruby_gpg2/commands/mixins/with_result.rb
ruby_gpg2-0.7.0.pre.1 lib/ruby_gpg2/commands/mixins/with_result.rb
ruby_gpg2-0.6.0 lib/ruby_gpg2/commands/mixins/with_result.rb
ruby_gpg2-0.5.0.pre.1 lib/ruby_gpg2/commands/mixins/with_result.rb
ruby_gpg2-0.4.0 lib/ruby_gpg2/commands/mixins/with_result.rb
ruby_gpg2-0.3.0.pre.2 lib/ruby_gpg2/commands/mixins/with_result.rb
ruby_gpg2-0.3.0.pre.1 lib/ruby_gpg2/commands/mixins/with_result.rb
ruby_gpg2-0.2.0 lib/ruby_gpg2/commands/mixins/with_result.rb
ruby_gpg2-0.1.0.pre.27 lib/ruby_gpg2/commands/mixins/with_result.rb
ruby_gpg2-0.1.0.pre.26 lib/ruby_gpg2/commands/mixins/with_result.rb
ruby_gpg2-0.1.0.pre.25 lib/ruby_gpg2/commands/mixins/with_result.rb
ruby_gpg2-0.1.0.pre.24 lib/ruby_gpg2/commands/mixins/with_result.rb
ruby_gpg2-0.1.0.pre.23 lib/ruby_gpg2/commands/mixins/with_result.rb
ruby_gpg2-0.1.0.pre.22 lib/ruby_gpg2/commands/mixins/with_result.rb