Methods

Included Modules

Class/Module Index [+]

Quicksearch

RSpec::Core::SharedContext

Public Instance Methods

included(group) click to toggle source
# File lib/rspec/core/shared_context.rb, line 6
def included(group)
  [:before, :after].each do |type|
    [:all, :each].each do |scope|
      group.hooks[type][scope].concat hooks[type][scope]
    end
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.