class OmniFocus::Task

Public Instance Methods

completed() click to toggle source
# File lib/omnifocus.rb, line 717
def completed
  thing.completed.get.nilify
end
due_date() click to toggle source
# File lib/omnifocus.rb, line 709
def due_date
  thing.due_date.get.nilify
end
due_date=(t) click to toggle source
# File lib/omnifocus.rb, line 705
def due_date= t
  thing.due_date.set t
end
project() click to toggle source
# File lib/omnifocus.rb, line 689
def project
  Project.new omnifocus, thing.containing_project.get
end
repetition() click to toggle source
# File lib/omnifocus.rb, line 713
def repetition
  thing.repetition.get.nilify
end
start_date() click to toggle source
# File lib/omnifocus.rb, line 699
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 693
def start_date= t
  thing.start_date.set t
rescue
  thing.defer_date.set t
end