Class: Forms::DividerComponent

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

Instance Method Summary collapse

Constructor Details

#initialize(title) ⇒ DividerComponent

Returns a new instance of DividerComponent.



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

def initialize(title)
  @title = title
end