class RSpecCommand::OutputString

String subclass to make string output look kind of like Mixlib::ShellOut.

@api private @see capture_stdout

Public Class Methods

new(stdout, stderr) click to toggle source
Calls superclass method
# File lib/rspec_command.rb, line 189
def initialize(stdout, stderr)
  super(stdout)
  @stderr = stderr
end

Public Instance Methods

exitstatus() click to toggle source
# File lib/rspec_command.rb, line 202
def exitstatus
  0
end
stderr() click to toggle source
# File lib/rspec_command.rb, line 198
def stderr
  @stderr
end
stdout() click to toggle source
# File lib/rspec_command.rb, line 194
def stdout
  self
end