Parent

Methods

Class Index [+]

Quicksearch

RSpec::Core::Hooks::AroundHookCollection

Public Instance Methods

for(example, initial_procsy=nil) click to toggle source
    # File lib/rspec/core/hooks.rb, line 79
79:         def for(example, initial_procsy=nil)
80:           self.class.new(select {|hook| hook.options_apply?(example)}).
81:             with(example, initial_procsy)
82:         end
run() click to toggle source
    # File lib/rspec/core/hooks.rb, line 90
90:         def run
91:           inject(@initial_procsy) do |procsy, around_hook|
92:             Example.procsy(procsy.metadata) do
93:               @example.instance_eval_with_args(procsy, &around_hook)
94:             end
95:           end.call
96:         end
with(example, initial_procsy) click to toggle source
    # File lib/rspec/core/hooks.rb, line 84
84:         def with(example, initial_procsy)
85:           @example = example
86:           @initial_procsy = initial_procsy
87:           self
88:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.