diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2010-04-24 10:26:09 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-04-24 10:38:41 -0700 |
commit | 577034decbe790789eaadef493582d164d9431c2 (patch) | |
tree | 7062494b6bf6e80c744f724cab30f981cec50715 /tools | |
parent | aaaa1782b44c620cecb97238534a2bd2be5d365a (diff) | |
download | rails-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-x | tools/profile | 1 |
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 |