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: client), sections: Checkoff::Sections.new(client: client), custom_fields: Checkoff::CustomFields.new(client: client), **_kwargs) ⇒ SectionSelectorEvaluator
constructor
A new instance of SectionSelectorEvaluator.
Methods inherited from SelectorEvaluator
Constructor Details
#initialize(section:, client:, projects: Checkoff::Projects.new(client: client), sections: Checkoff::Sections.new(client: client), custom_fields: Checkoff::CustomFields.new(client: client), **_kwargs) ⇒ SectionSelectorEvaluator
Returns a new instance of SectionSelectorEvaluator.
15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/checkoff/internal/section_selector_evaluator.rb', line 15 def initialize(section:, client:, projects: Checkoff::Projects.new(client: client), sections: Checkoff::Sections.new(client: client), custom_fields: Checkoff::CustomFields.new(client: client), **_kwargs) @item = section @client = client @projects = projects @sections = sections @custom_fields = custom_fields super() end |