Class: Jquard::Schemas::Layouts::SectionComponent
- Inherits:
-
ApplicationComponent
- Object
- ViewComponent::Base
- ApplicationComponent
- Jquard::Schemas::Layouts::SectionComponent
- Defined in:
- app/components/jquard/schemas/layouts/section_component.rb
Instance Method Summary collapse
-
#initialize(component:, form:, record:) ⇒ SectionComponent
constructor
A new instance of SectionComponent.
Constructor Details
#initialize(component:, form:, record:) ⇒ SectionComponent
Returns a new instance of SectionComponent.
5 6 7 8 9 |
# File 'app/components/jquard/schemas/layouts/section_component.rb', line 5 def initialize(component:, form:, record:) @section = component @form = form @record = record end |