method
add_callback
add_callback(sym, *args, &proc)
private
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