Class: UI::ItemFooterComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- UI::ItemFooterComponent
- Includes:
- ItemFooterBehavior
- Defined in:
- app/view_components/ui/item_footer_component.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(classes: "", **attributes) ⇒ ItemFooterComponent
constructor
A new instance of ItemFooterComponent.
Methods included from ItemFooterBehavior
#item_footer_classes, #item_footer_html_attributes
Constructor Details
#initialize(classes: "", **attributes) ⇒ ItemFooterComponent
Returns a new instance of ItemFooterComponent.
6 7 8 9 |
# File 'app/view_components/ui/item_footer_component.rb', line 6 def initialize(classes: "", **attributes) @classes = classes @attributes = attributes end |
Instance Method Details
#call ⇒ Object
11 12 13 |
# File 'app/view_components/ui/item_footer_component.rb', line 11 def call content_tag :div, content, ** end |