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