Class: Checkoff::SelectorClasses::Task::DependentOnPreviousSectionLastMilestonePFunctionEvaluator
- Inherits:
-
FunctionEvaluator
- Object
- FunctionEvaluator
- FunctionEvaluator
- Checkoff::SelectorClasses::Task::DependentOnPreviousSectionLastMilestonePFunctionEvaluator
- Defined in:
- lib/checkoff/internal/selector_classes/task.rb
Overview
:dependent_on_previous_section_last_milestone?
Constant Summary collapse
- FUNCTION_NAME =
:dependent_on_previous_section_last_milestone?
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::Task::FunctionEvaluator
Instance Method Details
#evaluate(task, limit_to_portfolio_gid: nil) ⇒ Boolean
305 306 307 308 |
# File 'lib/checkoff/internal/selector_classes/task.rb', line 305 def evaluate(task, limit_to_portfolio_gid: nil) @timelines.task_dependent_on_previous_section_last_milestone?(task, limit_to_portfolio_gid:) end |
#matches? ⇒ Boolean
296 297 298 |
# File 'lib/checkoff/internal/selector_classes/task.rb', line 296 def matches? fn?(selector, FUNCTION_NAME) end |