Class: Checkoff::SelectorClasses::Project::DueDateFunctionEvaluator
- Inherits:
-
FunctionEvaluator
- Object
- FunctionEvaluator
- FunctionEvaluator
- Checkoff::SelectorClasses::Project::DueDateFunctionEvaluator
- Defined in:
- lib/checkoff/internal/selector_classes/project.rb
Overview
:due_date function
Constant Summary collapse
- FUNCTION_NAME =
:due_date
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(resource) ⇒ String?
20 21 22 |
# File 'lib/checkoff/internal/selector_classes/project.rb', line 20 def evaluate(resource) resource.due_date end |
#matches? ⇒ Boolean
14 15 16 |
# File 'lib/checkoff/internal/selector_classes/project.rb', line 14 def matches? fn?(selector, FUNCTION_NAME) end |