Method: MMToDo::ToDoApp#main_menu

Defined in:
lib/mm_todo/todo_app.rb


45
46
47
48
49
50
51
# File 'lib/mm_todo/todo_app.rb', line 45

def main_menu
  @list.show_all
  puts @error
  @error = nil
  puts "[Commands: q=quit, a=add, d=mark done, p=purge done items]"
  @input = $stdin.gets.chomp
end