class EloBrain::EloCalculations::Strategies

Constants

STRATEGIES_COLLECTION

Public Instance Methods

call(strategy:) click to toggle source
# File lib/elo_brain/elo_calculations/strategies.rb, line 11
def call(strategy:)
  STRATEGIES_COLLECTION[strategy.to_sym].new
end