Class: SportsManager::TournamentSolution::ByeFixture
- Extended by:
- Forwardable
- Defined in:
- lib/sports_manager/tournament_solution/bye_fixture.rb
Overview
Public: A placeholder fixture for byes.
Instance Attribute Summary collapse
-
#category ⇒ Object
readonly
Returns the value of attribute category.
-
#match ⇒ Object
readonly
Returns the value of attribute match.
Instance Method Summary collapse
-
#initialize(match) ⇒ ByeFixture
constructor
A new instance of ByeFixture.
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
#category ⇒ Object (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 |
#match ⇒ Object (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 |