class Spork::Diagnoser
def remove_hook!
def remove_hook! return unless Kernel.private_instance_methods.map(&:to_sym).include?(:require_without_diagnoser) Kernel.class_eval do alias :require :require_without_diagnoser alias :load :load_without_diagnoser undef_method(:require_without_diagnoser) undef_method(:load_without_diagnoser) end true end