-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUML_plain.txt
More file actions
55 lines (52 loc) · 710 Bytes
/
Copy pathUML_plain.txt
File metadata and controls
55 lines (52 loc) · 710 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
@startuml
Input "1" *-- TaskHolder :tiene 1
TaskHolder "1" *-- "n" Task : tiene 1 set
class Input{
holder
intitialize()
show_add_message(id,description)
to_s()
show_error()
generate_desc(arg)
to_date(string)
input_check(input)
start()
}
class TaskHolder{
set
id
set_date
set_group
initialize()
add(description, expiration_date, group)
list()
complete(task)
ac()
list_due(up_to)
list_overdue()
list_by_group(group)
list_group()
save(file_name)
load(file_name)
set_date(date)
set_group(group)
find(text)
find_task_by_id(id)
refresh_task(task)
}
class Task{
description
id
complete
group
expiration_date
to_s()
completed()
_== (other)
<=>(other)
to_s_without_group()
date_to_str()
hash()
eql?(other)
}
@enduml