Reduce direct reference of globals
This commit is contained in:
		
							parent
							
								
									bb4d4d97b7
								
							
						
					
					
						commit
						9ab35de2c4
					
				
					 21 changed files with 220 additions and 162 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue