module HabiticaClient::Tasks::Types
Public Instance Methods
by_type(type)
click to toggle source
# File lib/habitica_client/tasks/types.rb, line 17 def by_type(type) select { |task| task.type == type } end
dailies()
click to toggle source
# File lib/habitica_client/tasks/types.rb, line 9 def dailies by_type('daily') end
habits()
click to toggle source
# File lib/habitica_client/tasks/types.rb, line 5 def habits by_type('habit') end
todos()
click to toggle source
# File lib/habitica_client/tasks/types.rb, line 13 def todos by_type('todo') end