class

TaskManager

Inherits Reference < Object

TO DO: Implementar multiplas escolhas em remove_task e testar o que for possivel fazer no código e traduzir o código e aplicar clean code e aplicar nivel de acesso na classe.

Constructors

Instance methods

add_task(title : String)
Source
edit_order(type : Int32)
Source
edit_task(index : Int32, title : String, create : Bool = false)
Source
has_tasks?
Source
list_done_tasks
Source
list_tasks
Source
list_undone_tasks
Source
mark_done(index : Int32)
Source
mark_done(input : String)
Source
mark_done_with_indices(input : String)
Source
remove_task(index : Int32)
Source
remove_task(input : String)
Source
remove_task_with_indices(input : String)
Source
sort_alphabetical?
Source
title_available?(title : String) : Tuple(Bool, String)
Source
total_tasks
Source
total_tasks_done
Source
total_tasks_undone
Source
unmark_done(index : Int32)
Source
unmark_done(input : String)
Source
unmark_done_with_indices(input : String)
Source
valid_index?(index : Int32) : Bool
Source