Sha256: 6a2b3e97af4ea4e600eaae7040fa581d86895aa6cd57245f2c7a6acc3dfabbcf
Contents?: true
Size: 622 Bytes
Versions: 140
Compression:
Stored size: 622 Bytes
Contents
# frozen_string_literal: true module Renalware # Presenter formatting a collection of patients for use behind any MDM Patients listing. class MDMPatientsPresenter include PresenterHelper attr_reader :patients, :view_proc, :page_title, :q def initialize(patients:, view_proc:, page_title:, q:, patient_presenter_class: nil) patient_presenter_class ||= MDMPatientPresenter @view_proc = view_proc @patients = present(patients, patient_presenter_class) @page_title = page_title @q = q end end end
Version data entries
140 entries across 140 versions & 1 rubygems