Methods

Class/Module Index [+]

Quicksearch

RSpec::Core::Hooks::BeforeHook

Public Instance Methods

run_in(example_group_instance) click to toggle source
# File lib/rspec/core/hooks.rb, line 33
def run_in(example_group_instance)
  if example_group_instance
    example_group_instance.instance_eval(&self)
  else
    call
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.