Sha256: 0896c3091f7b832fffcd768486ac7a4620c6c35d7840003d6d29b39f3923258f
Contents?: true
Size: 635 Bytes
Versions: 2
Compression:
Stored size: 635 Bytes
Contents
module Gofer # Response container for the various outputs from Gofer::Host#run class Response < String # Captured STDOUT output attr_reader :stdout # Captured STDERR output attr_reader :stderr # Combined STDOUT / STDERR output (also value of this as a String) attr_reader :output # Exit status of command, only available if :capture_exit_status is used attr_reader :exit_status def initialize (_stdout, _stderr, _output, _exit_status) # :nodoc: super _stdout @stdout = _stdout @stderr = _stderr @output = _output @exit_status = _exit_status end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gofer-0.6.0 | lib/gofer/response.rb |
gofer-0.5.0 | lib/gofer/response.rb |