Sha256: 3c3d198d8b58f2be1a307ff830e21495826a79aa827e8e2ae0f50111f281e0fe

Contents?: true

Size: 265 Bytes

Versions: 14

Compression:

Stored size: 265 Bytes

Contents

require_dependency "renalware"

module Renalware
  module Transplants
    class ConsentPresenter < SimpleDelegator
      # This method smells of :reek:NilCheck
      def to_s
        [I18n.l(consented_on), value&.text].compact.join(" ")
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.rc6 app/presenters/renalware/transplants/consent_presenter.rb
renalware-core-2.0.0.pre.rc5 app/presenters/renalware/transplants/consent_presenter.rb
renalware-core-2.0.0.pre.rc4 app/presenters/renalware/transplants/consent_presenter.rb
renalware-core-2.0.0.pre.rc3 app/presenters/renalware/transplants/consent_presenter.rb
renalware-core-2.0.0.pre.rc1 app/presenters/renalware/transplants/consent_presenter.rb
renalware-core-2.0.0.pre.beta12 app/presenters/renalware/transplants/consent_presenter.rb
renalware-core-2.0.0.pre.beta11 app/presenters/renalware/transplants/consent_presenter.rb
renalware-core-2.0.0.pre.beta10 app/presenters/renalware/transplants/consent_presenter.rb
renalware-core-2.0.0.pre.beta9 app/presenters/renalware/transplants/consent_presenter.rb
renalware-core-2.0.0.pre.beta8 app/presenters/renalware/transplants/consent_presenter.rb
renalware-core-2.0.0.pre.beta7 app/presenters/renalware/transplants/consent_presenter.rb
renalware-core-2.0.0.pre.beta6 app/presenters/renalware/transplants/consent_presenter.rb
renalware-core-2.0.0.pre.beta5 app/presenters/renalware/transplants/consent_presenter.rb
renalware-core-2.0.0.pre.beta4 app/presenters/renalware/transplants/consent_presenter.rb