Class: EloBrain::DevelopmentCoefficient::Situations::Pro
- Inherits:
-
Object
- Object
- EloBrain::DevelopmentCoefficient::Situations::Pro
- Defined in:
- lib/elo_brain/development_coefficient/situations/pro.rb
Constant Summary collapse
- COEFFICIENT =
10
- ELO_MIN =
2_399
Instance Method Summary collapse
- #eligible? ⇒ Boolean
-
#initialize(elo:) ⇒ Pro
constructor
A new instance of Pro.
Constructor Details
#initialize(elo:) ⇒ Pro
Returns a new instance of Pro.
9 10 11 |
# File 'lib/elo_brain/development_coefficient/situations/pro.rb', line 9 def initialize(elo:) @elo = elo end |
Instance Method Details
#eligible? ⇒ Boolean
13 14 15 |
# File 'lib/elo_brain/development_coefficient/situations/pro.rb', line 13 def eligible? @elo > ELO_MIN end |