class Stattleship::TopStats

Public Instance Methods

populate() click to toggle source
# File lib/stattleship/top_stats.rb, line 13
def populate
  top_stats.each do |top_stat|
    populate_games(top_stat)

    games.each do |game|
      populate_game(game)
    end

    populate_players(top_stat)
    populate_player_teams(top_stat)
  end
end