method
add_callback
add_callback(sym, *args, &proc)
private
Hide source
# File lib/spec/runner/configuration.rb, line 151 def add_callback(sym, *args, &proc) scope, options = Spec::Example.scope_and_options(*args) example_group = Spec::Example::ExampleGroupFactory.get(get_type_from_options(options)) example_group.__send__(sym, scope, &proc) end