Class: Forms::SubtitleComponent

Inherits:
ViewComponent::Base
  • Object
show all
Defined in:
lib/app/components/forms/subtitle_component.rb

Instance Method Summary collapse

Constructor Details

#initialize(subtitle) ⇒ SubtitleComponent

Returns a new instance of SubtitleComponent.



5
6
7
# File 'lib/app/components/forms/subtitle_component.rb', line 5

def initialize(subtitle)
  @subtitle = subtitle
end