Sha256: 93636ba59223c360416d1f82d7a5bfb628b5ed30e4063f02dc90029bed7d4b2f

Contents?: true

Size: 341 Bytes

Versions: 44

Compression:

Stored size: 341 Bytes

Contents

# frozen_string_literal: true

module Renalware
  module PD
    class PeritonitisEpisodePresenter < DumbDelegator
      def episode_types_summary
        return "Unknown" unless episode_types.any?
        episode_types.map do |type|
          type.peritonitis_episode_type_description.term
        end.join(", ")
      end
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
renalware-core-2.0.46 app/presenters/renalware/pd/peritonitis_episode_presenter.rb
renalware-core-2.0.45 app/presenters/renalware/pd/peritonitis_episode_presenter.rb
renalware-core-2.0.44 app/presenters/renalware/pd/peritonitis_episode_presenter.rb
renalware-core-2.0.43 app/presenters/renalware/pd/peritonitis_episode_presenter.rb
renalware-core-2.0.42 app/presenters/renalware/pd/peritonitis_episode_presenter.rb
renalware-core-2.0.41 app/presenters/renalware/pd/peritonitis_episode_presenter.rb
renalware-core-2.0.40 app/presenters/renalware/pd/peritonitis_episode_presenter.rb
renalware-core-2.0.39 app/presenters/renalware/pd/peritonitis_episode_presenter.rb
renalware-core-2.0.38 app/presenters/renalware/pd/peritonitis_episode_presenter.rb
renalware-core-2.0.37 app/presenters/renalware/pd/peritonitis_episode_presenter.rb
renalware-core-2.0.36 app/presenters/renalware/pd/peritonitis_episode_presenter.rb
renalware-core-2.0.35 app/presenters/renalware/pd/peritonitis_episode_presenter.rb
renalware-core-2.0.34 app/presenters/renalware/pd/peritonitis_episode_presenter.rb
renalware-core-2.0.33 app/presenters/renalware/pd/peritonitis_episode_presenter.rb
renalware-core-2.0.32 app/presenters/renalware/pd/peritonitis_episode_presenter.rb
renalware-core-2.0.31 app/presenters/renalware/pd/peritonitis_episode_presenter.rb
renalware-core-2.0.30 app/presenters/renalware/pd/peritonitis_episode_presenter.rb
renalware-core-2.0.28 app/presenters/renalware/pd/peritonitis_episode_presenter.rb
renalware-core-2.0.27 app/presenters/renalware/pd/peritonitis_episode_presenter.rb
renalware-core-2.0.26 app/presenters/renalware/pd/peritonitis_episode_presenter.rb