Reduce direct reference of globals

This commit is contained in:
Markus Schirp 2015-11-21 22:02:51 +00:00
parent bb4d4d97b7
commit 9ab35de2c4
21 changed files with 220 additions and 162 deletions

View file

@ -15,7 +15,11 @@ namespace =
load_path: $LOAD_PATH,
kernel: Kernel,
pathname: Pathname,
require_highjack: Mutant::RequireHighjack.method(:call).to_proc.curry.call(Kernel),
require_highjack: Mutant::RequireHighjack
.method(:call)
.to_proc
.curry
.call(Kernel),
root_require: 'mutant',
includes: %w[
mutant