Class: LeanCms::BulletsSectionComponent

Inherits:
BaseComponent
  • Object
show all
Defined in:
app/components/lean_cms/bullets_section_component.rb

Instance Attribute Summary collapse

Attributes inherited from BaseComponent

#page

Instance Method Summary collapse

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, **options)
  super(page: page)
  @section = section
  @options = options
end

Instance Attribute Details

#sectionObject (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