Class: Spec::Runner::ExampleGroupCreationListener

Inherits:
Object
  • Object
show all
Defined in:
lib/gems/rspec-1.1.12/lib/spec/runner.rb

Instance Method Summary collapse

Instance Method Details

#register_example_group(klass) ⇒ Object



16
17
18
19
# File 'lib/gems/rspec-1.1.12/lib/spec/runner.rb', line 16

def register_example_group(klass)
  Spec::Runner.options.add_example_group klass
  Spec::Runner.register_at_exit_hook
end