Class: Checkoff::SelectorClasses::Task::UnassignedPFunctionEvaluator
- Inherits:
-
FunctionEvaluator
- Object
- FunctionEvaluator
- FunctionEvaluator
- Checkoff::SelectorClasses::Task::UnassignedPFunctionEvaluator
- Defined in:
- lib/checkoff/internal/selector_classes/task.rb
Overview
:unassigned? function
Instance Attribute Summary
Attributes inherited from FunctionEvaluator
#custom_fields, #tasks, #timelines
Instance Method Summary collapse
-
#evaluate(task) ⇒ Boolean
CI quality (pipeline 1902): “return type could not be inferred” on modified lines after 7eeb5b1 removed @sg-ignore.
- #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
CI quality (pipeline 1902): “return type could not be inferred” on modified lines after 7eeb5b1 removed @sg-ignore. Local overcommit may report “Unneeded @sg-ignore”; ‘== true` alone did not satisfy the CI overcommit Solargraph hook. @sg-ignore
197 198 199 |
# File 'lib/checkoff/internal/selector_classes/task.rb', line 197 def evaluate(task) task.assignee.nil? == true end |
#matches? ⇒ Boolean
187 188 189 |
# File 'lib/checkoff/internal/selector_classes/task.rb', line 187 def matches? fn?(selector, :unassigned?) end |