class Cli
Public Instance Methods
run()
click to toggle source
# File lib/fish_finder/cli.rb, line 4 def run puts "Did you catch a fish off the coast of New England? What type do you think? Please pick from this commonly caught list..." Scraper.scrape_rt Fish.all.each.with_index(1) do | fish, i| puts "#{i}. #{fish.name}" end menu end