Sha256: f1abf1fc88d809660ca508ea2062d75a1de8bcdd5885a1358e44c1dee41055f0
Contents?: true
Size: 449 Bytes
Versions: 19
Compression:
Stored size: 449 Bytes
Contents
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
19 entries across 19 versions & 1 rubygems