Class: ICU::RatedPlayer::NoneRating
- Inherits:
-
ICU::RatedPlayer
- Object
- ICU::RatedPlayer
- ICU::RatedPlayer::NoneRating
- Defined in:
- lib/icu_ratings/player.rb
Overview
:nodoc:
Instance Attribute Summary
Attributes inherited from ICU::RatedPlayer
#desc, #num, #performance, #results, #type
Instance Method Summary collapse
-
#initialize(num, desc) ⇒ NoneRating
constructor
A new instance of NoneRating.
- #new_rating(type = nil) ⇒ Object
Methods inherited from ICU::RatedPlayer
#==, #add_result, #average_performance, check_games, check_kfactor, check_num, check_rating, #estimate_performance, #expected_score, factory, kfactor, #rate!, #reset, #score, #update_performance
Constructor Details
#initialize(num, desc) ⇒ NoneRating
Returns a new instance of NoneRating.
309 310 311 312 |
# File 'lib/icu_ratings/player.rb', line 309 def initialize(num, desc) @type = :unrated super(num, desc) end |
Instance Method Details
#new_rating(type = nil) ⇒ Object
314 315 316 |
# File 'lib/icu_ratings/player.rb', line 314 def (type=nil) performance end |