Class: Forms::TitleComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Forms::TitleComponent
- Defined in:
- app/components/forms/title_component.rb
Instance Method Summary collapse
-
#initialize(title) ⇒ TitleComponent
constructor
A new instance of TitleComponent.
Constructor Details
#initialize(title) ⇒ TitleComponent
Returns a new instance of TitleComponent.
5 6 7 |
# File 'app/components/forms/title_component.rb', line 5 def initialize(title) @title = title end |