lib/quarry/loadmonitor.rb in quarry-0.3.0 vs lib/quarry/loadmonitor.rb in quarry-0.4.0

- old
+ new

@@ -1,14 +1,19 @@ BEGIN { module Kernel + h = Hash.new + define_method(:requiree) do h end r = method :require + define_method(:require) do |a| - r.call a + r.call(a) h[a] = caller end + end } +