diagnoser.rb

Path: lib/spork/diagnoser.rb
Last Update: Thu Oct 08 10:55:04 -0600 2009

The Diagnoser hooks into load and require and keeps track of when files are required / loaded, and who loaded them. It‘s used when you run spork —diagnose

Example

 Spork::Diagnoser.install_hook!('/path/env.rb', '/path')
 require '/path/to/env.rb'
 Spork::Diagnoser.output_results(STDOUT)

[Validate]