Sha256: 479b592098d23e9bd03c4496e754ec486590a99764a86803a6173feebb6a5d3c

Contents?: true

Size: 268 Bytes

Versions: 86

Compression:

Stored size: 268 Bytes

Contents

Knj::REQUIRE_INFO = {}

class Object
  alias_method :require_knj, :require
  
  def require(path)
    stat = require_knj(path)
    
    if stat and !Knj::REQUIRE_INFO.key?(path)
      Knj::REQUIRE_INFO[path] = {:caller => caller}
    end
    
    return stat
  end
end

Version data entries

86 entries across 86 versions & 1 rubygems

Version Path
knjrbfw-0.0.72 lib/knj/includes/require_info.rb
knjrbfw-0.0.71 lib/knj/includes/require_info.rb
knjrbfw-0.0.70 lib/knj/includes/require_info.rb
knjrbfw-0.0.69 lib/knj/includes/require_info.rb
knjrbfw-0.0.68 lib/knj/includes/require_info.rb
knjrbfw-0.0.67 lib/knj/includes/require_info.rb
knjrbfw-0.0.66 lib/knj/includes/require_info.rb
knjrbfw-0.0.65 lib/knj/includes/require_info.rb
knjrbfw-0.0.64 lib/knj/includes/require_info.rb
knjrbfw-0.0.63 lib/knj/includes/require_info.rb
knjrbfw-0.0.62 lib/knj/includes/require_info.rb
knjrbfw-0.0.59 lib/knj/includes/require_info.rb
knjrbfw-0.0.58 lib/knj/includes/require_info.rb
knjrbfw-0.0.57 lib/knj/includes/require_info.rb
knjrbfw-0.0.55 lib/knj/includes/require_info.rb
knjrbfw-0.0.54 lib/knj/includes/require_info.rb
knjrbfw-0.0.53 lib/knj/includes/require_info.rb
knjrbfw-0.0.52 lib/knj/includes/require_info.rb
knjrbfw-0.0.51 lib/knj/includes/require_info.rb
knjrbfw-0.0.50 lib/knj/includes/require_info.rb