Class: ContentBlockTools::Contacts::AddressComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- ContentBlockTools::Contacts::AddressComponent
- Defined in:
- app/components/content_block_tools/contacts/address_component.rb
Instance Method Summary collapse
-
#initialize(item:) ⇒ AddressComponent
constructor
A new instance of AddressComponent.
Methods inherited from BaseComponent
Methods included from OverrideClasses
#font_classes, #font_size_class, #font_weight_class, #margin_classes, #padding_classes
Methods included from Govspeak
Constructor Details
#initialize(item:) ⇒ AddressComponent
Returns a new instance of AddressComponent.
4 5 6 |
# File 'app/components/content_block_tools/contacts/address_component.rb', line 4 def initialize(item:) @item = item end |