class RSpec::Core::Runner
def self.trap_interrupt
- Private: -
def self.trap_interrupt trap('INT') do exit!(1) if RSpec.world.wants_to_quit RSpec.world.wants_to_quit = true STDERR.puts "\nRSpec is shutting down and will print the summary report... Interrupt again to force quit." end end