summaryrefslogtreecommitdiff
path: root/lib/seeding/early_bird_seeding.rb
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-04-27 20:39:17 -0400
committerAndrewMurrell <amurrel@purdue.edu>2014-04-27 20:39:17 -0400
commitfbdb313c53b836deb1b4151169b32656fd1f70da (patch)
treea2444e326d7a737ee5c8bbcd149afa16481796de /lib/seeding/early_bird_seeding.rb
parentc87dbe49d521683900c20a9425a96467fa631489 (diff)
parent9d0be853cef35412c0bfe92c80502fd9da7947f1 (diff)
Merge branch 'master' of http://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 cb24415..5c289ed 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