lib/recipe_cli/cli.rb
def call
    shouldContinue = true
    listEmpty = false
    welcome_message
    enter_ingredients
    while !listEmpty && shouldContinue
      listEmpty = display_recipe_list
      if !listEmpty
        recipe = user_recipe_choice
        display_recipe_time_and_link(recipe)
        shouldContinue = other_options
      end
    end
  end
#call will be used to run function (will call methods in order of how they should execute)
call will be used to run function (will call methods in order of how they should execute)
call will be used to run function ( will call methods in order of how they should execute )
def call
    shouldContinue = true
    listEmpty = false
    welcome_message
    enter_ingredients
    while !listEmpty && shouldContinue
      listEmpty = display_recipe_list
      if !listEmpty
        recipe = user_recipe_choice
        display_recipe_time_and_link(recipe)
        shouldContinue = other_options
      end
    end
  end
def call shouldContinue = true listEmpty = false welcome_message enter_ingredients while ! listEmpty && shouldContinue listEmpty = display_recipe_list if ! listEmpty recipe = user_recipe_choice display_recipe_time_and_link ( recipe ) shouldContinue = other_options end end end
call will be used to run function (will call methods in order of how they should execute)
call will be used to run function ( will call methods in order of how they should execute )