Class: Bs5::NavComponent

Inherits:
ViewComponent::Base
  • Object
show all
Includes:
ViewComponent::SlotableV2
Defined in:
app/components/bs5/nav_component.rb

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ NavComponent

Returns a new instance of NavComponent.



9
10
11
12
# File 'app/components/bs5/nav_component.rb', line 9

def initialize(options = {})
  @options = options.symbolize_keys
  extract_options
end