Class: List

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeList

Returns a new instance of List.



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

def initialize
  tasks = []
end

Instance Attribute Details

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#identifierObject

Returns the value of attribute identifier.



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

def identifier
  @identifier
end

#tasksObject

Returns the value of attribute tasks.



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

def tasks
  @tasks
end

#titleObject

Returns the value of attribute title.



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

def title
  @title
end