Class: Spina::Pages::TabButtonComponent

Inherits:
ApplicationComponent show all
Defined in:
app/components/spina/pages/tab_button_component.rb

Instance Method Summary collapse

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