lib/nhl_teams/cli.rb
# based on user selection, either show a list of the nhl teams,
# give an error message
# exit
based on user selection, either show a list of the nhl teams,
give an error message
exit
based on user selection either show a list of the nhl teams give an error message exit
def nhl_team_selection
        puts "Select a team for more details."
        selection = user_input
        team = Team.find_team(selection)
        team_details(team)
    end
def nhl_team_selection puts "Select a team for more details." selection = user_input team = Team . find_team ( selection ) team_details ( team ) end
based on user selection, either show a list of the nhl teams,
give an error message
exit
based on user selection either show a list of the nhl teams give an error message exit
#puts "#{selection}" # query our NHL class to find the teams detail