class OmniFocus::Task

Public Instance Methods

completed() click to toggle source
# File lib/omnifocus.rb, line 873
def completed
  thing.completed.get.nilify
end
due_date() click to toggle source
# File lib/omnifocus.rb, line 865
def due_date
  thing.due_date.get.nilify
end
due_date=(t) click to toggle source
# File lib/omnifocus.rb, line 861
def due_date= t
  thing.due_date.set t
end
project() click to toggle source
# File lib/omnifocus.rb, line 845
def project
  Project.new omnifocus, thing.containing_project.get
end
repetition() click to toggle source
# File lib/omnifocus.rb, line 869
def repetition
  thing.repetition.get.nilify
end
start_date() click to toggle source
# File lib/omnifocus.rb, line 855
def start_date
  thing.start_date.get.nilify
rescue
  thing.defer_date.get.nilify
end
start_date=(t) click to toggle source
# File lib/omnifocus.rb, line 849
def start_date= t
  thing.start_date.set t
rescue
  thing.defer_date.set t
end