diff options
author | AndrewMurrell <amurrel@purdue.edu> | 2014-04-27 20:39:17 -0400 |
---|---|---|
committer | AndrewMurrell <amurrel@purdue.edu> | 2014-04-27 20:39:17 -0400 |
commit | fbdb313c53b836deb1b4151169b32656fd1f70da (patch) | |
tree | a2444e326d7a737ee5c8bbcd149afa16481796de /lib/seeding/random_seeding.rb | |
parent | c87dbe49d521683900c20a9425a96467fa631489 (diff) | |
parent | 9d0be853cef35412c0bfe92c80502fd9da7947f1 (diff) |
Merge branch 'master' of http://github.com/LukeShu/leaguer
Diffstat (limited to 'lib/seeding/random_seeding.rb')
-rw-r--r-- | lib/seeding/random_seeding.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/seeding/random_seeding.rb b/lib/seeding/random_seeding.rb index 65979bc..36e06d6 100644 --- a/lib/seeding/random_seeding.rb +++ b/lib/seeding/random_seeding.rb @@ -1,6 +1,6 @@ module Seeding - class RandomSeeding - def seed(tournament_stage) + 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 |