summaryrefslogtreecommitdiff
path: root/lib/seeding/random_seeding.rb
diff options
context:
space:
mode:
authorguntasgrewal <guntasgrewal@gmail.com>2014-04-27 20:47:42 -0400
committerguntasgrewal <guntasgrewal@gmail.com>2014-04-27 20:47:42 -0400
commit4d47e5e7b5d838173dd3ab68c293c03e03811392 (patch)
tree594659a4fbc6cbc1afd188f94f8196e203cabe31 /lib/seeding/random_seeding.rb
parentdf1cda1faab97f4c424efdcf8b6822f98b73adb8 (diff)
parent9d0be853cef35412c0bfe92c80502fd9da7947f1 (diff)
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'lib/seeding/random_seeding.rb')
-rw-r--r--lib/seeding/random_seeding.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/seeding/random_seeding.rb b/lib/seeding/random_seeding.rb
index ec39e61..723d70e 100644
--- a/lib/seeding/random_seeding.rb
+++ b/lib/seeding/random_seeding.rb
@@ -1,6 +1,6 @@
module Seeding
- class RandomSeeding
- def seed_matches(tournament)
+ module RandomSeeding
+ def self.seed(tournament_stage)
matches = tournament.current_stage.matches
match = matches.first
match_num = 0
@@ -17,4 +17,4 @@ module Seeding
end
end
end
-end \ No newline at end of file
+end