class EloBrain::DevelopmentCoefficient::Situations::Starting

Constants

COEFFICIENT
NB_MAXIMUM_MATCHES

Public Class Methods

new(nb_matches:) click to toggle source
# File lib/elo_brain/development_coefficient/situations/starting.rb, line 9
def initialize(nb_matches:)
  @nb_matches = nb_matches
end

Public Instance Methods

eligible?() click to toggle source
# File lib/elo_brain/development_coefficient/situations/starting.rb, line 13
def eligible?
  @nb_matches < NB_MAXIMUM_MATCHES
end