Class: ContentBlockTools::Contacts::EmailAddressComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- ContentBlockTools::Contacts::EmailAddressComponent
- Includes:
- Govspeak
- Defined in:
- app/components/content_block_tools/contacts/email_address_component.rb
Instance Method Summary collapse
-
#initialize(item:) ⇒ EmailAddressComponent
constructor
A new instance of EmailAddressComponent.
Methods included from Govspeak
Methods inherited from BaseComponent
Constructor Details
#initialize(item:) ⇒ EmailAddressComponent
Returns a new instance of EmailAddressComponent.
6 7 8 |
# File 'app/components/content_block_tools/contacts/email_address_component.rb', line 6 def initialize(item:) @item = item end |