Sha256: 0bb0933b396a302b0d9a777aa218bab771b7f4d75fad05992abf300dde2b225f

Contents?: true

Size: 326 Bytes

Versions: 19

Compression:

Stored size: 326 Bytes

Contents

require_dependency "renalware/letters"

module Renalware
  module Letters
    class ContactPresenter < DumbDelegator
      def description_name
        description.unspecified? ? other_description : description.to_s
      end

      def name_and_description
        "#{self} (#{description_name})"
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.rc11 app/presenters/renalware/letters/contact_presenter.rb
renalware-core-2.0.0.pre.rc10 app/presenters/renalware/letters/contact_presenter.rb
renalware-core-2.0.0.pre.rc9 app/presenters/renalware/letters/contact_presenter.rb
renalware-core-2.0.0.pre.rc8 app/presenters/renalware/letters/contact_presenter.rb
renalware-core-2.0.0.pre.rc7 app/presenters/renalware/letters/contact_presenter.rb
renalware-core-2.0.0.pre.rc6 app/presenters/renalware/letters/contact_presenter.rb
renalware-core-2.0.0.pre.rc5 app/presenters/renalware/letters/contact_presenter.rb
renalware-core-2.0.0.pre.rc4 app/presenters/renalware/letters/contact_presenter.rb
renalware-core-2.0.0.pre.rc3 app/presenters/renalware/letters/contact_presenter.rb
renalware-core-2.0.0.pre.rc1 app/presenters/renalware/letters/contact_presenter.rb
renalware-core-2.0.0.pre.beta12 app/presenters/renalware/letters/contact_presenter.rb
renalware-core-2.0.0.pre.beta11 app/presenters/renalware/letters/contact_presenter.rb
renalware-core-2.0.0.pre.beta10 app/presenters/renalware/letters/contact_presenter.rb
renalware-core-2.0.0.pre.beta9 app/presenters/renalware/letters/contact_presenter.rb
renalware-core-2.0.0.pre.beta8 app/presenters/renalware/letters/contact_presenter.rb
renalware-core-2.0.0.pre.beta7 app/presenters/renalware/letters/contact_presenter.rb
renalware-core-2.0.0.pre.beta6 app/presenters/renalware/letters/contact_presenter.rb
renalware-core-2.0.0.pre.beta5 app/presenters/renalware/letters/contact_presenter.rb
renalware-core-2.0.0.pre.beta4 app/presenters/renalware/letters/contact_presenter.rb