提交 577034de 编写于 作者: J Jeremy Kemper

Ensure require and load are private - h/t apeiros

上级 aaaa1782
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册