Sha256: 849e2050d480ae9f0adaf6f91d3198aa38feccc639598e74eaace66967281e93
Contents?: true
Size: 374 Bytes
Versions: 3
Compression:
Stored size: 374 Bytes
Contents
require_dependency "renalware/messaging" module Renalware module Messaging class InternalMessagePresenter < SimpleDelegator def age_in_days (Time.zone.now.to_date - sent_at.to_date).to_i end def html_identifier "message-#{id}" end def html_preview_identifier "message-preview-#{id}" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems