Flowdock
method

register_at_exit_hook

Importance_0
RSpec latest stable (1.3.1) - 0 notes - Class: Spec::Runner

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (1.1.12) is shown here.

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 44
      def register_at_exit_hook # :nodoc:
        unless @already_registered_at_exit_hook
          at_exit do
            unless $! || run? || Spec::Example::ExampleGroupFactory.registered_or_ancestor_of_registered?(options.example_groups)
              success = run
              exit success if exit?
            end
          end
          @already_registered_at_exit_hook = true
        end
      end
Register or log in to add new notes.