Class: Olivander::Components::TablePortletComponent::TableComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Olivander::Components::TablePortletComponent::TableComponent
- Defined in:
- app/components/olivander/components/table_portlet_component.rb
Instance Method Summary collapse
-
#initialize(item:, item_iteration:, builder:, headers:) ⇒ TableComponent
constructor
A new instance of TableComponent.
Constructor Details
#initialize(item:, item_iteration:, builder:, headers:) ⇒ TableComponent
Returns a new instance of TableComponent.
31 32 33 34 35 36 37 |
# File 'app/components/olivander/components/table_portlet_component.rb', line 31 def initialize(item:, item_iteration:, builder:, headers:) super @item = item @item_iteration = item_iteration @builder = builder @headers = headers end |