Class: Bs5::Nav::ItemComponent

Inherits:
ViewComponent::Base
  • Object
show all
Defined in:
app/components/bs5/nav/item_component.rb

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ ItemComponent

Returns a new instance of ItemComponent.



6
7
8
9
# File 'app/components/bs5/nav/item_component.rb', line 6

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