summaryrefslogtreecommitdiff
path: root/lib/seeding/early_bird_seeding.rb
diff options
context:
space:
mode:
authornfoy <nfoy@purdue.edu>2014-04-27 20:52:01 -0400
committernfoy <nfoy@purdue.edu>2014-04-27 20:52:01 -0400
commite526f5b62b3dc91ca30eb0382c071227b74baddf (patch)
tree6b25931d6b08446ea13a04c490485e50aeed6219 /lib/seeding/early_bird_seeding.rb
parent12b9f96b4003ec384e1583e4d6d53fcb8d5f960c (diff)
parent4d47e5e7b5d838173dd3ab68c293c03e03811392 (diff)
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'lib/seeding/early_bird_seeding.rb')
-rw-r--r--lib/seeding/early_bird_seeding.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/seeding/early_bird_seeding.rb b/lib/seeding/early_bird_seeding.rb
index f3fc6f9..488a1a2 100644
--- a/lib/seeding/early_bird_seeding.rb
+++ b/lib/seeding/early_bird_seeding.rb
@@ -1,6 +1,6 @@
module Seeding
- class EarlyBirdSeeding
- def seed(tournament_stage)
+ module EarlyBirdSeeding
+ 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