method
add_callback
rspec latest stable - Class:
Spec::Runner::Configuration
add_callback(sym, *args, &proc)private
No documentation available.
# 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