lib/hof_stats/cli.rb in hof_stats-0.1.3 vs lib/hof_stats/cli.rb in hof_stats-0.1.4
- old
+ new
@@ -13,12 +13,12 @@
@players.each_with_index do |player, i|
if player.votes == ""
player.votes = "N/A"
end
if player.percent == ""
- player.percent = "N/A"
+ player.percent = "N/A %"
end
- puts "#{i+1}. #{player.name} - #{player.year} - #{player.votes} votes - #{player.percent}%"
+ puts "#{i+1}. #{player.name} - #{player.year} - #{player.votes} votes - #{player.percent}"
end
end
def list_individual_player(player)
puts "Player Name: #{player.name}"
\ No newline at end of file