class RSpec::Core::Runner

def self.trap_interrupt

Other tags:
    Private: -
def self.trap_interrupt
  trap('INT') do
    exit!(1) if RSpec.world.wants_to_quit
    RSpec.world.wants_to_quit = true
    STDERR.puts "\nExiting... Interrupt again to exit immediately."
  end
end