Class: Checkoff::SelectorClasses::Task::DueDateSetPFunctionEvaluator
- Inherits:
-
FunctionEvaluator
- Object
- FunctionEvaluator
- FunctionEvaluator
- Checkoff::SelectorClasses::Task::DueDateSetPFunctionEvaluator
- Defined in:
- lib/checkoff/internal/selector_classes/task.rb
Overview
:due_date_set? function
Constant Summary collapse
- FUNCTION_NAME =
:due_date_set?
Instance Attribute Summary
Attributes inherited from FunctionEvaluator
#custom_fields, #tasks, #timelines
Instance Method Summary collapse
-
#evaluate(task) ⇒ Boolean
Same CI/local Solargraph drift as UnassignedPFunctionEvaluator#evaluate (pipeline 1902).
- #matches? ⇒ Boolean
Methods inherited from FunctionEvaluator
Methods inherited from FunctionEvaluator
Methods included from Logging
#debug, #error, #finer, #info, #logger, #warn
Constructor Details
This class inherits a constructor from Checkoff::SelectorClasses::Task::FunctionEvaluator
Instance Method Details
#evaluate(task) ⇒ Boolean
Same CI/local Solargraph drift as UnassignedPFunctionEvaluator#evaluate (pipeline 1902). @sg-ignore
214 215 216 |
# File 'lib/checkoff/internal/selector_classes/task.rb', line 214 def evaluate(task) !(task.due_at.nil? && task.due_on.nil?) end |
#matches? ⇒ Boolean
206 207 208 |
# File 'lib/checkoff/internal/selector_classes/task.rb', line 206 def matches? fn?(selector, FUNCTION_NAME) end |