Class: Shared::Navbar

Inherits:
Bridgetown::Component
  • Object
show all
Defined in:
lib/site_template/TEMPLATES/serbea/_components/shared/navbar.rb,
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 'lib/site_template/TEMPLATES/serbea/_components/shared/navbar.rb', line 2

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