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
Constructor Details
This class inherits a constructor from Checkoff::SelectorClasses::Project::FunctionEvaluator
Instance Method Details
#evaluate(resource) ⇒ String?
19 20 21 |
# File 'lib/checkoff/internal/selector_classes/project.rb', line 19 def evaluate(resource) resource.due_date end |
#matches? ⇒ Boolean
13 14 15 |
# File 'lib/checkoff/internal/selector_classes/project.rb', line 13 def matches? fn?(selector, FUNCTION_NAME) end |