Module: HabiticaClient::Tasks::Status
- Included in:
- HabiticaClient::Tasks
- Defined in:
- lib/habitica_client/tasks/status.rb
Instance Method Summary collapse
Instance Method Details
#completed ⇒ Object
5 6 7 |
# File 'lib/habitica_client/tasks/status.rb', line 5 def completed select(&:completed?) end |
#uncompleted ⇒ Object
9 10 11 |
# File 'lib/habitica_client/tasks/status.rb', line 9 def uncompleted select { |task| !task.completed? } end |