class BucsRoster::CLI
Public Instance Methods
ask_again()
click to toggle source
# File lib/bucs_roster/cli.rb, line 39 def ask_again puts "Would you like to explore another player? (Y/N)" input = gets.strip.downcase if input[0] == "y" menu else goodbye end end
goodbye()
click to toggle source
# File lib/bucs_roster/cli.rb, line 49 def goodbye puts "Thanks for checking out the Tampa Bay Bucs!" exit end
start()
click to toggle source
# File lib/bucs_roster/cli.rb, line 2 def start puts "Here are your Tampa Bay Buccaneers!" Scraper.new.scrape_index menu end