Class: DreddHooks::Runner
- Inherits:
-
Object
- Object
- DreddHooks::Runner
- Includes:
- Singleton
- Defined in:
- lib/dredd_hooks/runner.rb
Overview
The Ruby hooks runner stores and runs the Ruby hooks
It provides registration methods to be used from the DSL, as well as methods to run hooks by name from the server.
All these methods are generated automatically according to the hooks definitions.
Note that this class is a Singleton. Use Runner.instance to get references to its unique instance.