class Data::TaskManager

Included Modules

Defined in:

data/task_manager.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new #

[View source]

Instance Method Detail

def add_task(name : String) #

[View source]
def complete_task(index : Int32) : Task | Bool #

[View source]
def list_tasks #

[View source]
def remove_task(index) #

[View source]
def tasks : Array(Task) #

[View source]
def tasks=(tasks : Array(Task)) #

[View source]