Module: HabiticaClient::Task::Type
- Included in:
- HabiticaClient::Task
- Defined in:
- lib/habitica_client/task/type.rb
Instance Method Summary collapse
Instance Method Details
#daily? ⇒ Boolean
9 10 11 |
# File 'lib/habitica_client/task/type.rb', line 9 def daily? type == 'daily' end |
#habit? ⇒ Boolean
5 6 7 |
# File 'lib/habitica_client/task/type.rb', line 5 def habit? type == 'habit' end |
#todo? ⇒ Boolean
13 14 15 |
# File 'lib/habitica_client/task/type.rb', line 13 def todo? type == 'todo' end |