Ensure require and load are private - h/t apeiros
This commit is contained in:
parent
aaaa1782b4
commit
577034decb
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue