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



28
29
30
# File 'lib/rspec/support/spec/shell_out.rb', line 28

def exitstatus
  @exitstatus
end