class RecipeFinder::CLI

Public Instance Methods

call() click to toggle source
# File lib/finder/cli.rb, line 3
def call
  puts "Welcome to Find Anything! Where you can quickly FindAnything you want near you"
  start
end
print_item(dish) click to toggle source
print_items(itemsArray) click to toggle source
start() click to toggle source
# File lib/finder/cli.rb, line 8
def start
  puts ""
  puts "What are you looking for?"
  search_item = gets.strip
  RecipeFinder::Scraper.new.make_items(search_item)
  show_list("first")
end