ruby-capture-output

Ruby library to grab given IO output and return it as a string
  https://github.com/jpastuszek/capture-output
  0
  no reviews



Provides Capture.output, Capture.stdout and Capture.stderr methods that can be used to grab output generated by current or spawned process.

This is useful for testing when you need to start a process and check its output or when you need to check current process output.