1
0
Fork 0
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:
nobu 2013-10-14 19:14:29 +00:00
parent 2e3d072d9d
commit ae65eeb604

View file

@ -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 }