module LeagueTrackAbrophy

takes in score file input and returns the final results for a league

Constants

VERSION

Public Class Methods

process(input_array) click to toggle source
# File lib/league_track_abrophy.rb, line 10
def self.process(input_array)
  games = input_array.map do |item|
    Game.new(item)
  end
  league = League.new(games)
  league.results.join("\n")
end