Class: Anchor::DialogComponent
- Defined in:
- app/components/anchor/dialog_component.rb
Instance Method Summary collapse
-
#initialize(title:) ⇒ DialogComponent
constructor
A new instance of DialogComponent.
Methods inherited from Component
Methods included from ViewHelper
Methods included from FetchOrFallbackHelper
Constructor Details
#initialize(title:) ⇒ DialogComponent
Returns a new instance of DialogComponent.
9 10 11 12 13 |
# File 'app/components/anchor/dialog_component.rb', line 9 def initialize(title:) @title = title super end |