Class: Checkoff::NilPFunctionEvaluator
- Inherits:
-
FunctionEvaluator
- Object
- FunctionEvaluator
- Checkoff::NilPFunctionEvaluator
- Defined in:
- lib/checkoff/internal/task_selector_evaluator.rb
Overview
:nil? 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
97 98 99 |
# File 'lib/checkoff/internal/task_selector_evaluator.rb', line 97 def evaluate(_task, subvalue) subvalue.nil? end |
#matches? ⇒ Boolean
93 94 95 |
# File 'lib/checkoff/internal/task_selector_evaluator.rb', line 93 def matches? fn?(task_selector, :nil?) end |