Class: Layouts::HorizontalSectionComponent

Inherits:
ViewComponent::Base
  • Object
show all
Defined in:
app/components/layouts/horizontal_section_component.rb

Instance Method Summary collapse

Constructor Details

#initialize(border: true, options: {}) ⇒ HorizontalSectionComponent

Returns a new instance of HorizontalSectionComponent.

Parameters:

  • border (Boolean) (defaults to: true)
  • options (Hash) (defaults to: {})


7
8
9
10
# File 'app/components/layouts/horizontal_section_component.rb', line 7

def initialize(border: true, options: {})
  @border = border
  @options = options
end