Class: Renalware::Pathology::Requests::PatientRulePresenter
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Renalware::Pathology::Requests::PatientRulePresenter
- Defined in:
- app/presenters/renalware/pathology/requests/patient_rule_presenter.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.present(patient_rules) ⇒ Object
9 10 11 |
# File 'app/presenters/renalware/pathology/requests/patient_rule_presenter.rb', line 9 def self.present(patient_rules) patient_rules.map { |patient_rule| new patient_rule } end |
Instance Method Details
#to_s ⇒ Object
13 14 15 |
# File 'app/presenters/renalware/pathology/requests/patient_rule_presenter.rb', line 13 def to_s test_description.to_s + sample_description.to_s end |