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
Constructor Details
This class inherits a constructor from Checkoff::SelectorClasses::Project::FunctionEvaluator
Instance Method Details
#evaluate(project, period = :now_or_before) ⇒ Boolean
35 36 37 |
# File 'lib/checkoff/internal/selector_classes/project.rb', line 35 def evaluate(project, period = :now_or_before) @projects.project_ready?(project, period: period) end |
#matches? ⇒ Boolean
28 29 30 |
# File 'lib/checkoff/internal/selector_classes/project.rb', line 28 def matches? fn?(selector, FUNCTION_NAME) end |