Class: Bs5::Nav::ItemComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Bs5::Nav::ItemComponent
- Defined in:
- app/components/bs5/nav/item_component.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ ItemComponent
constructor
A new instance of ItemComponent.
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 = .symbolize_keys end |