Class: UI::CardFooterComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- UI::CardFooterComponent
- Includes:
- CardFooterBehavior
- Defined in:
- app/view_components/ui/card_footer_component.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(classes: "", **attributes) ⇒ CardFooterComponent
constructor
A new instance of CardFooterComponent.
Methods included from CardFooterBehavior
#card_footer_classes, #card_footer_html_attributes, #render_card_footer
Constructor Details
#initialize(classes: "", **attributes) ⇒ CardFooterComponent
Returns a new instance of CardFooterComponent.
6 7 8 9 |
# File 'app/view_components/ui/card_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/card_footer_component.rb', line 11 def call { content } end |