Class: Forms::TitleComponent

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

Instance Method Summary collapse

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