Class: Checkoff::SectionSelectorEvaluator
- Inherits:
-
SelectorEvaluator
- Object
- SelectorEvaluator
- Checkoff::SectionSelectorEvaluator
- Defined in:
- lib/checkoff/internal/section_selector_evaluator.rb
Overview
Evaluates section selectors against a section
Instance Method Summary collapse
-
#initialize(section:, client:, projects: Checkoff::Projects.new(client:), sections: Checkoff::Sections.new(client:), custom_fields: Checkoff::CustomFields.new(client:), **_kwargs) ⇒ SectionSelectorEvaluator
constructor
A new instance of SectionSelectorEvaluator.
Methods inherited from SelectorEvaluator
Constructor Details
#initialize(section:, client:, projects: Checkoff::Projects.new(client:), sections: Checkoff::Sections.new(client:), custom_fields: Checkoff::CustomFields.new(client:), **_kwargs) ⇒ SectionSelectorEvaluator
Returns a new instance of SectionSelectorEvaluator.
17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/checkoff/internal/section_selector_evaluator.rb', line 17 def initialize(section:, client:, projects: Checkoff::Projects.new(client:), sections: Checkoff::Sections.new(client:), custom_fields: Checkoff::CustomFields.new(client:), **_kwargs) @item = section @client = client @projects = projects @sections = sections @custom_fields = custom_fields super() end |