Sha256: 340c27092958386cd69651904c2d0e23dc5842b4a1d95099dc121554978b8ce1
Contents?: true
Size: 468 Bytes
Versions: 114
Compression:
Stored size: 468 Bytes
Contents
# frozen_string_literal: true module Renalware module HD class ProfileDocumentPresenter < ::DumbDelegator def care_level @care_level ||= CareLevelPresenter.new(super) end class CareLevelPresenter < ::DumbDelegator def to_s care_level = __getobj__ return "" if care_level.level.blank? "#{care_level.level.try(:text)} (#{::I18n.l(care_level.assessed_on)})" end end end end end
Version data entries
114 entries across 114 versions & 1 rubygems