Class: OmniFocus::Task

Inherits:
Thingy show all
Defined in:
lib/omnifocus.rb

Instance Attribute Summary

Attributes inherited from Thingy

#omnifocus, #thing

Instance Method Summary collapse

Methods inherited from Thingy

#active, #id, #initialize, #inspect, #method_missing, #name

Constructor Details

This class inherits a constructor from OmniFocus::Thingy

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class OmniFocus::Thingy

Instance Method Details

#completedObject



694
695
696
# File 'lib/omnifocus.rb', line 694

def completed
  thing.completed.get.nilify
end

#due_dateObject



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

#projectObject



670
671
672
# File 'lib/omnifocus.rb', line 670

def project
  Project.new omnifocus, thing.containing_project.get
end

#repetitionObject



690
691
692
# File 'lib/omnifocus.rb', line 690

def repetition
  thing.repetition.get.nilify
end

#start_dateObject



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