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
660
661
662
|
# File 'lib/omnifocus.rb', line 660
def next_review_date
thing.next_review_date.get
end
|
#review_interval ⇒ Object
652
653
654
|
# File 'lib/omnifocus.rb', line 652
def review_interval
thing.review_interval.get
end
|
#review_interval=(h) ⇒ Object
656
657
658
|
# File 'lib/omnifocus.rb', line 656
def review_interval= h
thing.review_interval.set :to => h
end
|
664
665
666
|
# File 'lib/omnifocus.rb', line 664
def tasks
thing.tasks[active].get.map { |t| Task.new omnifocus, t }
end
|
#unscheduled ⇒ Object
642
643
644
|
# File 'lib/omnifocus.rb', line 642
def unscheduled
its.due_date.eq(:missing_value)
end
|
#unscheduled_tasks ⇒ Object
646
647
648
649
650
|
# File 'lib/omnifocus.rb', line 646
def unscheduled_tasks
thing.tasks[active.and(unscheduled)].get.map { |t|
Task.new omnifocus, t
}
end
|