Class: PapyTools::Ronde

Inherits:
Object
  • Object
show all
Defined in:
lib/papy-tools/tournoi.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(chaine, numeroronde) ⇒ Ronde

Returns a new instance of Ronde.



78
79
80
81
82
83
# File 'lib/papy-tools/tournoi.rb', line 78

def initialize(chaine,numeroronde)
  @numeroronde=numeroronde
  @exempt=false
  @forfait_prevenu=false
  analyse_chaine(chaine) unless exemptouforfaitprevenu(chaine)
end

Instance Attribute Details

#couleurObject (readonly)

Returns the value of attribute couleur.



69
70
71
# File 'lib/papy-tools/tournoi.rb', line 69

def couleur
  @couleur
end

#exemptObject (readonly)

Returns the value of attribute exempt.



69
70
71
# File 'lib/papy-tools/tournoi.rb', line 69

def exempt
  @exempt
end

#forfait_prevenuObject (readonly)

Returns the value of attribute forfait_prevenu.



69
70
71
# File 'lib/papy-tools/tournoi.rb', line 69

def forfait_prevenu
  @forfait_prevenu
end

#numerorondeObject

Returns the value of attribute numeroronde.



76
77
78
# File 'lib/papy-tools/tournoi.rb', line 76

def numeroronde
  @numeroronde
end

#proxyadversaireObject (readonly)

Returns the value of attribute proxyadversaire.



69
70
71
# File 'lib/papy-tools/tournoi.rb', line 69

def proxyadversaire
  @proxyadversaire
end

#resultatObject (readonly)

Returns the value of attribute resultat.



69
70
71
# File 'lib/papy-tools/tournoi.rb', line 69

def resultat
  @resultat
end

#resultat_condenseObject (readonly)

Returns the value of attribute resultat_condense.



69
70
71
# File 'lib/papy-tools/tournoi.rb', line 69

def resultat_condense
  @resultat_condense
end