aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2010-04-24 10:26:09 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2010-04-24 10:38:41 -0700
commit577034decbe790789eaadef493582d164d9431c2 (patch)
tree7062494b6bf6e80c744f724cab30f981cec50715 /tools
parentaaaa1782b44c620cecb97238534a2bd2be5d365a (diff)
downloadrails-577034decbe790789eaadef493582d164d9431c2.tar.gz
rails-577034decbe790789eaadef493582d164d9431c2.tar.bz2
rails-577034decbe790789eaadef493582d164d9431c2.zip
Ensure require and load are private - h/t apeiros
Diffstat (limited to 'tools')
-rwxr-xr-xtools/profile1
1 files changed, 1 insertions, 0 deletions
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