Replace class 'TournamentTable' by 'RoundRobinTable'.

This commit is contained in:
vonavi 2013-11-23 10:53:38 +02:00
parent 500b412d4e
commit cfa7e19617
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/env ruby #!/usr/bin/env ruby
require File.expand_path('../lib/lorchess.rb', File.dirname(__FILE__)) require File.expand_path('../lib/lorchess.rb', File.dirname(__FILE__))
table = LORChess::TournamentTable.new table = LORChess::RoundRobinTable.new
puts table.to_html puts table.to_html

View File

@ -1,4 +1,4 @@
$:.unshift File.dirname(__FILE__) # for use/testing when no gem is installed $:.unshift File.dirname(__FILE__) # for use/testing when no gem is installed
# Internal requires # Internal requires
require 'lorchess/tournament_table.rb' require 'lorchess/round_robin_table.rb'

View File

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
module LORChess module LORChess
class TournamentTable class RoundRobinTable
require 'yaml' require 'yaml'