class RSpec::Core::Runner

def exit_code(examples_passed=false)

Other tags:
    Private: -
def exit_code(examples_passed=false)
  return @configuration.error_exit_code || @configuration.failure_exit_code if @world.non_example_failure
  return @configuration.failure_exit_code unless examples_passed
  0
end