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
679
680
681
|
# File 'lib/omnifocus.rb', line 679
def next_review_date
thing.next_review_date.get
end
|
#review_interval ⇒ Object
671
672
673
|
# File 'lib/omnifocus.rb', line 671
def review_interval
thing.review_interval.get
end
|
#review_interval=(h) ⇒ Object
675
676
677
|
# File 'lib/omnifocus.rb', line 675
def review_interval= h
thing.review_interval.set :to => h
end
|
683
684
685
|
# File 'lib/omnifocus.rb', line 683
def tasks
thing.tasks[active].get.map { |t| Task.new omnifocus, t }
end
|
#unscheduled ⇒ Object
661
662
663
|
# File 'lib/omnifocus.rb', line 661
def unscheduled
its.due_date.eq(:missing_value)
end
|
#unscheduled_tasks ⇒ Object
665
666
667
668
669
|
# File 'lib/omnifocus.rb', line 665
def unscheduled_tasks
thing.tasks[active.and(unscheduled)].get.map { |t|
Task.new omnifocus, t
}
end
|