Class: Shared::Navbar

Inherits:
Bridgetown::Component
  • Object
show all
Defined in:
bridgetown-core/lib/site_template/TEMPLATES/serbea/_components/shared/navbar.rb,
bridgetown-core/lib/site_template/TEMPLATES/erb/_components/shared/navbar.rb

Instance Method Summary collapse

Constructor Details

#initialize(metadata:, resource:) ⇒ Navbar

Returns a new instance of Navbar.



2
3
4
# File 'bridgetown-core/lib/site_template/TEMPLATES/serbea/_components/shared/navbar.rb', line 2

def initialize(metadata:, resource:)
  @metadata, @resource = , resource
end