Browse Source

Replace class 'TournamentTable' by 'RoundRobinTable'.

master
vonavi 6 years ago
parent
commit
cfa7e19617
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      bin/lorchess
  2. +1
    -1
      lib/lorchess.rb
  3. +1
    -1
      lib/lorchess/round_robin_table.rb

+ 1
- 1
bin/lorchess View File

@@ -1,5 +1,5 @@
#!/usr/bin/env ruby
require File.expand_path('../lib/lorchess.rb', File.dirname(__FILE__))

table = LORChess::TournamentTable.new
table = LORChess::RoundRobinTable.new
puts table.to_html

+ 1
- 1
lib/lorchess.rb View File

@@ -1,4 +1,4 @@
$:.unshift File.dirname(__FILE__) # for use/testing when no gem is installed

# Internal requires
require 'lorchess/tournament_table.rb'
require 'lorchess/round_robin_table.rb'

lib/lorchess/tournament_table.rb → lib/lorchess/round_robin_table.rb View File

@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-

module LORChess
class TournamentTable
class RoundRobinTable

require 'yaml'


Loading…
Cancel
Save