class OmniFocus::Task

Public Instance Methods

completed() click to toggle source
# File lib/omnifocus.rb, line 859
def completed
  thing.completed.get.nilify
end
due_date() click to toggle source
# File lib/omnifocus.rb, line 851
def due_date
  thing.due_date.get.nilify
end
due_date=(t) click to toggle source
# File lib/omnifocus.rb, line 847
def due_date= t
  thing.due_date.set t
end
project() click to toggle source
# File lib/omnifocus.rb, line 831
def project
  Project.new omnifocus, thing.containing_project.get
end
repetition() click to toggle source
# File lib/omnifocus.rb, line 855
def repetition
  thing.repetition.get.nilify
end
start_date() click to toggle source
# File lib/omnifocus.rb, line 841
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 835
def start_date= t
  thing.start_date.set t
rescue
  thing.defer_date.set t
end