Class: Checkoff::AndFunctionEvaluator
- Inherits:
-
FunctionEvaluator
- Object
- FunctionEvaluator
- Checkoff::AndFunctionEvaluator
- Defined in:
- lib/checkoff/internal/task_selector_evaluator.rb
Overview
:and function
Instance Method Summary collapse
Methods inherited from FunctionEvaluator
Constructor Details
This class inherits a constructor from Checkoff::FunctionEvaluator
Instance Method Details
#evaluate(_task, lhs, rhs) ⇒ Object
75 76 77 |
# File 'lib/checkoff/internal/task_selector_evaluator.rb', line 75 def evaluate(_task, lhs, rhs) lhs && rhs end |
#matches? ⇒ Boolean
71 72 73 |
# File 'lib/checkoff/internal/task_selector_evaluator.rb', line 71 def matches? fn?(task_selector, :and) end |