method

add_callback

Importance_0
add_callback(sym, *args, &proc) private

No documentation

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

Hide source
# File lib/spec/runner/configuration.rb, line 178
      def add_callback(sym, *args, &proc)
        scope, options = scope_and_options(*args)
        example_group = Spec::Example::ExampleGroupFactory[get_type_from_options(options)]
        example_group.__send__(sym, scope, &proc)
      end
Register or log in to add new notes.