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.116 lib/knj/includes/require_info.rb
knjrbfw-0.0.115 lib/knj/includes/require_info.rb
knjrbfw-0.0.114 lib/knj/includes/require_info.rb
knjrbfw-0.0.113 lib/knj/includes/require_info.rb
knjrbfw-0.0.111 lib/knj/includes/require_info.rb
knjrbfw-0.0.110 lib/knj/includes/require_info.rb
knjrbfw-0.0.109 lib/knj/includes/require_info.rb
knjrbfw-0.0.108 lib/knj/includes/require_info.rb
knjrbfw-0.0.107 lib/knj/includes/require_info.rb
knjrbfw-0.0.105 lib/knj/includes/require_info.rb
knjrbfw-0.0.104 lib/knj/includes/require_info.rb
knjrbfw-0.0.103 lib/knj/includes/require_info.rb
knjrbfw-0.0.102 lib/knj/includes/require_info.rb
knjrbfw-0.0.101 lib/knj/includes/require_info.rb
knjrbfw-0.0.100 lib/knj/includes/require_info.rb
knjrbfw-0.0.99 lib/knj/includes/require_info.rb
knjrbfw-0.0.98 lib/knj/includes/require_info.rb
knjrbfw-0.0.97 lib/knj/includes/require_info.rb
knjrbfw-0.0.96 lib/knj/includes/require_info.rb
knjrbfw-0.0.95 lib/knj/includes/require_info.rb