Module: HabiticaClient::Tasks::Status

Included in:
HabiticaClient::Tasks
Defined in:
lib/habitica_client/tasks/status.rb

Instance Method Summary collapse

Instance Method Details

#completedObject



5
6
7
# File 'lib/habitica_client/tasks/status.rb', line 5

def completed
  select(&:completed?)
end

#uncompletedObject



9
10
11
# File 'lib/habitica_client/tasks/status.rb', line 9

def uncompleted
  select { |task| !task.completed? }
end