Class: Header::Component
- Inherits:
-
Lookbook::BaseComponent
- Object
- Lookbook::BaseComponent
- Header::Component
- Defined in:
- app/components/lookbook/header/component.rb
Instance Method Summary collapse
-
#initialize(debug_menu: false, **html_attrs) ⇒ Component
constructor
A new instance of Component.
- #landing_path ⇒ Object
Constructor Details
#initialize(debug_menu: false, **html_attrs) ⇒ Component
Returns a new instance of Component.
5 6 7 8 |
# File 'app/components/lookbook/header/component.rb', line 5 def initialize(debug_menu: false, **html_attrs) @debug_menu = super(**html_attrs) end |
Instance Method Details
#landing_path ⇒ Object
10 11 12 |
# File 'app/components/lookbook/header/component.rb', line 10 def landing_path helpers.landing_path if defined? helpers.landing_path end |