Class: RSpec::Support::ShellOut::FakeProcessStatus

Inherits:
Struct
  • Object
show all
Defined in:
lib/rspec/support/spec/shell_out.rb

Overview

popen3 doesn’t provide the exit status so we fake it out.

Instance Attribute Summary collapse

Instance Attribute Details

#exitstatusObject

Returns the value of attribute exitstatus

Returns:

  • (Object)

    the current value of exitstatus



26
27
28
# File 'lib/rspec/support/spec/shell_out.rb', line 26

def exitstatus
  @exitstatus
end