Module: Callback

Defined in:
lib/spec/callback.rb,
lib/spec/callback/extensions/module.rb,
lib/spec/callback/extensions/object.rb,
lib/spec/callback/callback_container.rb

Overview

Callback is a fork of Brian Takita’s “callback library” (see callback.rubyforge.org), which Brian graciously contributed to RSpec in order to avoid the dependency.

RSpec uses Callback internally to create hooks to Spec::Runner events. If you’re interested in a simple, powerful API for generating callback events, check out callback.rubyforge.org.

Defined Under Namespace

Modules: InstanceMethods, ModuleMethods Classes: CallbackContainer