Sha256: f8305c86ccd1b23d6926377422a87561fede15389e3eafc780276c4ee4516115
Contents?: true
Size: 565 Bytes
Versions: 19
Compression:
Stored size: 565 Bytes
Contents
module Renalware module Accesses class ProfilePresenter < DumbDelegator def formed_on ::I18n.l(super) end def started_on ::I18n.l(super) end def terminated_on ::I18n.l(super) end def side super.try(:text) end def plan_type current_plan.plan_type.to_s end def plan_date current_plan.created_at end private def current_plan @current_plan ||= patient.current_plan || NullObject.instance end end end end
Version data entries
19 entries across 19 versions & 1 rubygems