Class: Checkoff::NotFunctionEvaluator
- Inherits:
-
FunctionEvaluator
- Object
- FunctionEvaluator
- Checkoff::NotFunctionEvaluator
- Defined in:
- lib/checkoff/internal/task_selector_evaluator.rb
Overview
:not function
Instance Method Summary collapse
Methods inherited from FunctionEvaluator
Constructor Details
This class inherits a constructor from Checkoff::FunctionEvaluator
Instance Method Details
#evaluate(_task, subvalue) ⇒ Object
86 87 88 |
# File 'lib/checkoff/internal/task_selector_evaluator.rb', line 86 def evaluate(_task, subvalue) !subvalue end |
#matches? ⇒ Boolean
82 83 84 |
# File 'lib/checkoff/internal/task_selector_evaluator.rb', line 82 def matches? fn?(task_selector, :not) end |