Class: TabPanels::Panel::Component
- Inherits:
-
Lookbook::BaseComponent
- Object
- Lookbook::BaseComponent
- TabPanels::Panel::Component
- Defined in:
- app/components/lookbook/tab_panels/panel/component.rb
Instance Method Summary collapse
-
#initialize(name:, **html_attrs) ⇒ Component
constructor
A new instance of Component.
Constructor Details
#initialize(name:, **html_attrs) ⇒ Component
Returns a new instance of Component.
3 4 5 6 |
# File 'app/components/lookbook/tab_panels/panel/component.rb', line 3 def initialize(name:, **html_attrs) @name = name super(**html_attrs) end |