Class: ContentBlockTools::Contacts::EmailAddressComponent

Inherits:
BaseComponent
  • Object
show all
Defined in:
app/components/content_block_tools/contacts/email_address_component.rb

Instance Method Summary collapse

Methods inherited from BaseComponent

#render

Methods included from OverrideClasses

#font_classes, #font_size_class, #font_weight_class, #margin_classes, #padding_classes

Methods included from Govspeak

#render_govspeak

Constructor Details

#initialize(item:) ⇒ EmailAddressComponent

Returns a new instance of EmailAddressComponent.



4
5
6
# File 'app/components/content_block_tools/contacts/email_address_component.rb', line 4

def initialize(item:)
  @item = item
end