Sha256: 528cd74411bbcb4cd5f0c1e6b294d26fb9fa7d8130979713a50e76a484b967e0
Contents?: true
Size: 480 Bytes
Versions: 11
Compression:
Stored size: 480 Bytes
Contents
# frozen_string_literal: true require_dependency "renalware/address_presenter" module Renalware class AddressPresenter::Block < AddressPresenter def to_html to_s.html_safe end private def join_arg "<br>" end def presentable_attrs [ name, organisation_name, street_1, street_2, street_3, [town, county, postcode].reject(&:blank?).join(", "), country ] end end end
Version data entries
11 entries across 11 versions & 1 rubygems