Permalink
Browse files

Ensure require and load are private - h/t apeiros

  • Loading branch information...
1 parent aaaa178 commit 577034decbe790789eaadef493582d164d9431c2 @jeremy jeremy committed Apr 24, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 tools/profile
View
@@ -13,6 +13,7 @@ Gem.source_index
require 'benchmark'
module RequireProfiler
+ private
def require(file, *args) RequireProfiler.profile(file) { super } end
def load(file, *args) RequireProfiler.profile(file) { super } end

0 comments on commit 577034d

Please sign in to comment.