Class: Layouts::HorizontalSectionComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Layouts::HorizontalSectionComponent
- Defined in:
- app/components/layouts/horizontal_section_component.rb
Instance Method Summary collapse
-
#initialize(border: true, options: {}) ⇒ HorizontalSectionComponent
constructor
A new instance of HorizontalSectionComponent.
Constructor Details
#initialize(border: true, options: {}) ⇒ HorizontalSectionComponent
Returns a new instance of HorizontalSectionComponent.
7 8 9 10 |
# File 'app/components/layouts/horizontal_section_component.rb', line 7 def initialize(border: true, options: {}) @border = border @options = end |