Class: Shared::Navbar
- Inherits:
-
Bridgetown::Component
- Object
- Bridgetown::Component
- Shared::Navbar
- Defined in:
- lib/site_template/TEMPLATES/serbea/_components/shared/navbar.rb,
lib/site_template/TEMPLATES/erb/_components/shared/navbar.rb
Instance Method Summary collapse
-
#initialize(metadata:, resource:) ⇒ Navbar
constructor
A new instance of Navbar.
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 |