Class: Spina::Pages::TabButtonComponent
- Inherits:
-
ApplicationComponent
- Object
- ViewComponent::Base
- ApplicationComponent
- Spina::Pages::TabButtonComponent
- Defined in:
- app/components/spina/pages/tab_button_component.rb
Instance Method Summary collapse
-
#initialize(tab_name:) ⇒ TabButtonComponent
constructor
A new instance of TabButtonComponent.
Constructor Details
#initialize(tab_name:) ⇒ TabButtonComponent
Returns a new instance of TabButtonComponent.
4 5 6 |
# File 'app/components/spina/pages/tab_button_component.rb', line 4 def initialize(tab_name:) @tab_name = tab_name end |