Ensure require and load are private - h/t apeiros

This commit is contained in:
Jeremy Kemper 2010-04-24 10:26:09 -07:00
parent aaaa1782b4
commit 577034decb
1 changed files with 1 additions and 0 deletions

View File

@ -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