class RSpec::Core::Hooks::GroupHookCollection

@private

Public Instance Methods

for(group) click to toggle source
# File lib/rspec/core/hooks.rb, line 438
def for(group)
  @group = group
  self
end
run() click to toggle source
# File lib/rspec/core/hooks.rb, line 443
def run
  hooks.shift.run(@group) until hooks.empty?
end