module StreamCapture

Stream capture

Constants

VERSION

Public Class Methods

std_both(...) click to toggle source
# File lib/stream_capture.rb, line 53
def std_both(...)
  StreamCapture::Core.new.std_both(...)
end
stderr(...) click to toggle source
# File lib/stream_capture.rb, line 49
def stderr(...)
  StreamCapture::Core.new.stderr(...)
end
stdout(...) click to toggle source
# File lib/stream_capture.rb, line 45
def stdout(...)
  StreamCapture::Core.new.stdout(...)
end

Public Instance Methods

capture_std_both(...) click to toggle source
# File lib/stream_capture.rb, line 40
def capture_std_both(...)
  StreamCapture.std_both(...)
end
capture_stderr(...) click to toggle source
# File lib/stream_capture.rb, line 36
def capture_stderr(...)
  StreamCapture.stderr(...)
end
capture_stdout(...) click to toggle source
# File lib/stream_capture.rb, line 32
def capture_stdout(...)
  StreamCapture.stdout(...)
end