Class: Devise::FormComponent

Inherits:
ViewComponent::Base
  • Object
show all
Defined in:
app/components/devise/form_component.rb

Instance Method Summary collapse

Constructor Details

#initialize(title:) ⇒ FormComponent

Returns a new instance of FormComponent.



4
5
6
# File 'app/components/devise/form_component.rb', line 4

def initialize(title:)
  @title = title
end