Sha256: 0d857baf5cf8da777f1a07417dab162c92aaa13cd31d3a4084ce8ab94e7ed0a9
Contents?: true
Size: 443 Bytes
Versions: 8
Compression:
Stored size: 443 Bytes
Contents
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 "" unless care_level.level.present? "#{care_level.level.try(:text)} (#{::I18n.l(care_level.assessed_on)})" end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems