Module | Spork |
In: |
lib/spork/runner.rb
lib/spork.rb |
BINARY | = | File.expand_path(File.dirname(__FILE__) + '/../bin/spork') |
LIBDIR | = | Pathname.new(File.expand_path(File.dirname(__FILE__))) |
Run a block after specs are run.
Run a block AFTER the fork occurs. By default, if prefork is called twice in the same file and line number, the supplied block will only be ran once.
Used by the server. Called to run all of the prefork blocks.
Traps an instance method of a class (or module) so any calls to it don‘t actually run until Spork.exec_each_run