Sha256: 69b0e54e9d7a04d9c084938265bf4c2ec1f412e524ac98947823566911344aab

Contents?: true

Size: 375 Bytes

Versions: 9

Compression:

Stored size: 375 Bytes

Contents

module Gofer

  # Response container for the various outputs from Gofer::Host#run  
  class Response < String
    attr_reader :stdout, :stderr, :output, :exit_status
    
    def initialize (_stdout, _stderr, _output, _exit_status)
      super _stdout
      @stdout = _stdout
      @stderr = _stderr
      @output = _output
      @exit_status = _exit_status
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
gofer-0.2.6 lib/gofer/response.rb
gofer-0.2.5 lib/gofer/response.rb
gofer-0.2.4 lib/gofer/response.rb
gofer-0.2.3 lib/gofer/response.rb
gofer-0.2.2 lib/gofer/response.rb
gofer-0.2.1 lib/gofer/response.rb
gofer-0.2.0 lib/gofer/response.rb
gofer-0.1.2 lib/gofer/response.rb
gofer-0.1.1 lib/gofer/response.rb