Class: Koi::HeaderComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Koi::HeaderComponent
- Defined in:
- app/components/koi/header_component.rb
Defined Under Namespace
Classes: LinkComponent
Instance Method Summary collapse
-
#initialize(title:) ⇒ HeaderComponent
constructor
A new instance of HeaderComponent.
Constructor Details
#initialize(title:) ⇒ HeaderComponent
Returns a new instance of HeaderComponent.
8 9 10 11 12 |
# File 'app/components/koi/header_component.rb', line 8 def initialize(title:) super @title = title end |