Sha256: f9d56ba5f39f95b99dd1f6c2fa37fee64688809924e82435313942031f10eec9
Contents?: true
Size: 338 Bytes
Versions: 3
Compression:
Stored size: 338 Bytes
Contents
module FootballManager class TeamSheetCreator def self.create_team_sheet(teams) teams.each do |team| puts "Team #{teams.first == team ? 'A' : 'B'} has #{team.size} player and #{team.points} points" team.players_ordered_by_name.each do |player| puts player.name end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems