Class: LeanCms::BulletsSectionComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- LeanCms::BulletsSectionComponent
- Defined in:
- app/components/lean_cms/bullets_section_component.rb
Instance Attribute Summary collapse
-
#section ⇒ Object
readonly
Returns the value of attribute section.
Attributes inherited from BaseComponent
Instance Method Summary collapse
-
#initialize(section:, page: nil, **options) ⇒ BulletsSectionComponent
constructor
A new instance of BulletsSectionComponent.
Constructor Details
#initialize(section:, page: nil, **options) ⇒ BulletsSectionComponent
Returns a new instance of BulletsSectionComponent.
5 6 7 8 9 |
# File 'app/components/lean_cms/bullets_section_component.rb', line 5 def initialize(section:, page: nil, **) super(page: page) @section = section @options = end |
Instance Attribute Details
#section ⇒ Object (readonly)
Returns the value of attribute section.
3 4 5 |
# File 'app/components/lean_cms/bullets_section_component.rb', line 3 def section @section end |