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