Class: Checkoff::SelectorClasses::Project::ReadyPFunctionEvaluator
- Inherits:
-
FunctionEvaluator
- Object
- FunctionEvaluator
- FunctionEvaluator
- Checkoff::SelectorClasses::Project::ReadyPFunctionEvaluator
- Defined in:
- lib/checkoff/internal/selector_classes/project.rb
Overview
:ready? function
Constant Summary collapse
- FUNCTION_NAME =
:ready?
Instance Method Summary collapse
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::Project::FunctionEvaluator
Instance Method Details
#evaluate(project, period = :now_or_before) ⇒ Boolean
36 37 38 |
# File 'lib/checkoff/internal/selector_classes/project.rb', line 36 def evaluate(project, period = :now_or_before) @projects.project_ready?(project, period:) end |
#matches? ⇒ Boolean
29 30 31 |
# File 'lib/checkoff/internal/selector_classes/project.rb', line 29 def matches? fn?(selector, FUNCTION_NAME) end |