Class: EloBrain::DevelopmentCoefficient::Situations::Pro

Inherits:
Object
  • Object
show all
Defined in:
lib/elo_brain/development_coefficient/situations/pro.rb

Constant Summary collapse

COEFFICIENT =
10
ELO_MIN =
2_399

Instance Method Summary collapse

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

Returns:

  • (Boolean)


13
14
15
# File 'lib/elo_brain/development_coefficient/situations/pro.rb', line 13

def eligible?
  @elo > ELO_MIN
end