From 577034decbe790789eaadef493582d164d9431c2 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Sat, 24 Apr 2010 10:26:09 -0700 Subject: Ensure require and load are private - h/t apeiros --- tools/profile | 1 + 1 file changed, 1 insertion(+) (limited to 'tools') diff --git a/tools/profile b/tools/profile index 0ccef6c26c..f02f1b5057 100755 --- a/tools/profile +++ b/tools/profile @@ -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 -- cgit v1.2.3