Class: Checkoff::DueDateSetPFunctionEvaluator
- Inherits:
-
FunctionEvaluator
- Object
- FunctionEvaluator
- Checkoff::DueDateSetPFunctionEvaluator
- Defined in:
- lib/checkoff/internal/task_selector_evaluator.rb
Overview
:due_date_set function
Instance Method Summary collapse
Methods inherited from FunctionEvaluator
Constructor Details
This class inherits a constructor from Checkoff::FunctionEvaluator
Instance Method Details
#evaluate(task) ⇒ Object
134 135 136 |
# File 'lib/checkoff/internal/task_selector_evaluator.rb', line 134 def evaluate(task) !task.due_at.nil? || !task.due_on.nil? end |
#matches? ⇒ Boolean
130 131 132 |
# File 'lib/checkoff/internal/task_selector_evaluator.rb', line 130 def matches? fn?(task_selector, :due_date_set) end |