Class: SportsManager::TournamentSolution::ByeFixture

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/sports_manager/tournament_solution/bye_fixture.rb

Overview

Public: A placeholder fixture for byes.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(match) ⇒ ByeFixture

Returns a new instance of ByeFixture.



15
16
17
18
# File 'lib/sports_manager/tournament_solution/bye_fixture.rb', line 15

def initialize(match)
  @match = match
  @category = match.category
end

Instance Attribute Details

#categoryObject (readonly)

Returns the value of attribute category.



9
10
11
# File 'lib/sports_manager/tournament_solution/bye_fixture.rb', line 9

def category
  @category
end

#matchObject (readonly)

Returns the value of attribute match.



9
10
11
# File 'lib/sports_manager/tournament_solution/bye_fixture.rb', line 9

def match
  @match
end