Method: ViewModel::CepcRrWrapper#initialize
- Defined in:
- lib/view_model/cepc_rr_wrapper.rb
#initialize(xml_doc, schema_type) ⇒ CepcRrWrapper
Returns a new instance of CepcRrWrapper.
5 6 7 8 9 |
# File 'lib/view_model/cepc_rr_wrapper.rb', line 5 def initialize(xml_doc, schema_type) @view_model = build_view_model(xml_doc, schema_type) @summary = Presenter::CepcRr::Summary.new(view_model) @recommendation_report = Presenter::CepcRr::RecommendationReport.new(view_model) end |