Class: Renalware::Problems::SummaryPart
- Inherits:
-
SummaryPart
- Object
- SummaryPart
- Renalware::Problems::SummaryPart
- Defined in:
- app/presenters/renalware/problems/summary_part.rb
Constant Summary
Constants inherited from SummaryPart
Instance Method Summary collapse
Methods inherited from SummaryPart
Instance Method Details
#cache_key ⇒ Object
12 13 14 |
# File 'app/presenters/renalware/problems/summary_part.rb', line 12 def cache_key [patient.cache_key, patient.problems.cache_key].join("~") end |
#problems ⇒ Object
8 9 10 |
# File 'app/presenters/renalware/problems/summary_part.rb', line 8 def problems @problems ||= patient.problems.ordered end |
#to_partial_path ⇒ Object
16 17 18 |
# File 'app/presenters/renalware/problems/summary_part.rb', line 16 def to_partial_path "renalware/problems/problems/summary_part" end |