I'm David and I've been using different areas of Codecademy for years. I love it! I'm stuck on a part of the final project. When I show my items, they come out as something like this when I type 2 for show tasks:
I think I'm not hanging the Task object correctly as a string based on the clues in the text but when I copy the word for word solution, mine is identical. Any advice would be appreciated. Thank you!
" Welcome to the TodoList Program!
This menu will help you use the Task List System
Q) Quit "
def prompt(message = 'What would you like to do?', symbol = ':> ')
@all_tasks = [ ]
def add(task) all_tasks << task end def show all_tasks end
@description = description
if "todo.rb" == $PROGRAM_NAME
my_list = List.new puts 'Please choose from the following list' until ['q'].include?(user_input = prompt(show).downcase) case user_input when '1' my_list.add(Task.new(prompt('What is the task you would like to accomplish?'))) when '2' puts my_list.show else puts "Sorry, I did not understand" end end puts 'Outro - Thanks for using the menu system!'