Class: OmniFocus::Project
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
#next_review_date ⇒ Object
835
836
837
|
# File 'lib/omnifocus.rb', line 835
def next_review_date
thing.next_review_date.get
end
|
#review_interval ⇒ Object
827
828
829
|
# File 'lib/omnifocus.rb', line 827
def review_interval
thing.review_interval.get
end
|
#review_interval=(h) ⇒ Object
831
832
833
|
# File 'lib/omnifocus.rb', line 831
def review_interval= h
thing.review_interval.set :to => h
end
|
839
840
841
|
# File 'lib/omnifocus.rb', line 839
def tasks
thing.tasks[active].get.map { |t| Task.new omnifocus, t }
end
|
#unscheduled ⇒ Object
817
818
819
|
# File 'lib/omnifocus.rb', line 817
def unscheduled
its.due_date.eq(:missing_value)
end
|
#unscheduled_tasks ⇒ Object
821
822
823
824
825
|
# File 'lib/omnifocus.rb', line 821
def unscheduled_tasks
thing.tasks[active.and(unscheduled)].get.map { |t|
Task.new omnifocus, t
}
end
|