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