mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	allpairs.rb: remove unused variable
* test/ruby/allpairs.rb (AllPairs#each_index): remove unused variable, prime. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									2e3d072d9d
								
							
						
					
					
						commit
						ae65eeb604
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		|  | @ -66,7 +66,6 @@ module AllPairs | |||
|   def each_index(*vs) | ||||
|     n = vs.length | ||||
|     max_v = vs.max | ||||
|     prime = make_prime(max_v) | ||||
|     h = {} | ||||
|     make_large_block(max_v, n) {|row| | ||||
|       row = vs.zip(row).map {|v, i| i % v } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 nobu
						nobu