Flowdock
method

register_at_exit_hook

Importance_0
1.1.4 - Show latest stable - 0 notes - Class: Spec::Runner
register_at_exit_hook(# :nodoc:) public

No documentation

This method has no description. You can help the RSpec community by adding new notes.

Hide source
# File lib/spec/runner.rb, line 187
      def register_at_exit_hook # :nodoc:
        $spec_runner_at_exit_hook_registered ||= nil
        unless $spec_runner_at_exit_hook_registered
          at_exit do
            unless $! || Spec.run?; \
              success = Spec.run; \
              exit success if Spec.exit?; \
            end
          end
          $spec_runner_at_exit_hook_registered = true
        end
      end
Register or log in to add new notes.