Sha256: d18ec2077c33e8a5635ab024d413325da779b3cee715168661b94d6082ec0bfe

Contents?: true

Size: 211 Bytes

Versions: 1

Compression:

Stored size: 211 Bytes

Contents

BEGIN {
   module Kernel
     h = Hash.new
     define_method(:requiree) do
       h
     end

     r = method :require
     define_method(:require) do |a|
       r.call a
       h[a] = caller
     end
   end
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
quarry-0.3.0 lib/quarry/loadmonitor.rb