Class: Task

Inherits:
Object
  • Object
show all
Defined in:
lib/clear/task.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id.



2
3
4
# File 'lib/clear/task.rb', line 2

def id
  @id
end

#listObject

Returns the value of attribute list.



2
3
4
# File 'lib/clear/task.rb', line 2

def list
  @list
end

#titleObject

Returns the value of attribute title.



2
3
4
# File 'lib/clear/task.rb', line 2

def title
  @title
end

Instance Method Details

#complete!(database) ⇒ Object



4
5
# File 'lib/clear/task.rb', line 4

def complete!(database)
end