Parent

Methods

Class Index [+]

Quicksearch

RSpec::Core::Hooks::HookCollection

Public Instance Methods

for(example_or_group) click to toggle source
    # File lib/rspec/core/hooks.rb, line 52
52:         def for(example_or_group)
53:           self.class.new(select {|hook| hook.options_apply?(example_or_group)}).
54:             with(example_or_group)
55:         end
run() click to toggle source
    # File lib/rspec/core/hooks.rb, line 62
62:         def run
63:           each {|h| h.run(@example) } unless empty?
64:         end
with(example) click to toggle source
    # File lib/rspec/core/hooks.rb, line 57
57:         def with(example)
58:           @example = example
59:           self
60:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.