module HabiticaClient::Task::Type

Public Instance Methods

daily?() click to toggle source
# File lib/habitica_client/task/type.rb, line 9
def daily?
  type == 'daily'
end
habit?() click to toggle source
# File lib/habitica_client/task/type.rb, line 5
def habit?
  type == 'habit'
end
todo?() click to toggle source
# File lib/habitica_client/task/type.rb, line 13
def todo?
  type == 'todo'
end