Class: OmniFocus::Task
Instance Attribute Summary
Attributes inherited from Thingy
#omnifocus, #thing
Instance Method Summary
collapse
Methods inherited from Thingy
#active, #id, #initialize, #inspect, #method_missing, #name
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class OmniFocus::Thingy
Instance Method Details
#completed ⇒ Object
694
695
696
|
# File 'lib/omnifocus.rb', line 694
def completed
thing.completed.get.nilify
end
|
686
687
688
|
# File 'lib/omnifocus.rb', line 686
def due_date
thing.due_date.get.nilify
end
|
#due_date=(t) ⇒ Object
682
683
684
|
# File 'lib/omnifocus.rb', line 682
def due_date= t
thing.due_date.set t
end
|
670
671
672
|
# File 'lib/omnifocus.rb', line 670
def project
Project.new omnifocus, thing.containing_project.get
end
|
#repetition ⇒ Object
690
691
692
|
# File 'lib/omnifocus.rb', line 690
def repetition
thing.repetition.get.nilify
end
|
#start_date ⇒ Object
678
679
680
|
# File 'lib/omnifocus.rb', line 678
def start_date
thing.start_date.get.nilify
end
|
#start_date=(t) ⇒ Object
674
675
676
|
# File 'lib/omnifocus.rb', line 674
def start_date= t
thing.start_date.set t
end
|