Class: RSpec::Core::Hooks::GroupHookCollection
- Inherits:
-
Array
- Object
- Array
- RSpec::Core::Hooks::GroupHookCollection
- Defined in:
- lib/rspec/core/hooks.rb
Instance Method Summary (collapse)
Instance Method Details
- (Object) for(group)
94 95 96 97 |
# File 'lib/rspec/core/hooks.rb', line 94 def for(group) @group = group self end |
- (Object) run
99 100 101 |
# File 'lib/rspec/core/hooks.rb', line 99 def run shift.run(@group) until empty? end |