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
873
874
875
|
# File 'lib/omnifocus.rb', line 873
def completed
thing.completed.get.nilify
end
|
865
866
867
|
# File 'lib/omnifocus.rb', line 865
def due_date
thing.due_date.get.nilify
end
|
#due_date=(t) ⇒ Object
861
862
863
|
# File 'lib/omnifocus.rb', line 861
def due_date= t
thing.due_date.set t
end
|
845
846
847
|
# File 'lib/omnifocus.rb', line 845
def project
Project.new omnifocus, thing.containing_project.get
end
|
#repetition ⇒ Object
869
870
871
|
# File 'lib/omnifocus.rb', line 869
def repetition
thing.repetition.get.nilify
end
|
#start_date ⇒ Object
855
856
857
858
859
|
# File 'lib/omnifocus.rb', line 855
def start_date
thing.start_date.get.nilify
rescue
thing.defer_date.get.nilify
end
|
#start_date=(t) ⇒ Object
849
850
851
852
853
|
# File 'lib/omnifocus.rb', line 849
def start_date= t
thing.start_date.set t
rescue
thing.defer_date.set t
end
|