mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-02 13:15:27 +00:00
removed wrestlers array convert on pool generation
This commit is contained in:
@@ -10,7 +10,7 @@ class Pool
|
||||
|
||||
def twoPools(wrestlers,weight_id,tournament)
|
||||
#wrestlers.sort_by{|x|[x.original_seed]}
|
||||
wrestlers.to_a
|
||||
|
||||
pool = 1
|
||||
wrestlers.each do |w|
|
||||
w.poolNumber = pool
|
||||
@@ -28,7 +28,7 @@ class Pool
|
||||
|
||||
def fourPools(wrestlers,weight_id,tournament)
|
||||
#wrestlers.sort_by{|x|[x.original_seed]}
|
||||
wrestlers.to_a
|
||||
|
||||
pool = 1
|
||||
wrestlers.each do |w|
|
||||
w.poolNumber = pool
|
||||
|
||||
Reference in New Issue
Block a user