Class: Anchor::DialogComponent

Inherits:
Component
  • Object
show all
Defined in:
app/components/anchor/dialog_component.rb

Instance Method Summary collapse

Methods inherited from Component

generate_id

Methods included from ViewHelper

#text_prose

Methods included from FetchOrFallbackHelper

#fetch_or_fallback

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