Class: Dossier::Renderer::Engine
- Inherits:
-
AbstractController::Base
- Object
- AbstractController::Base
- Dossier::Renderer::Engine
- Includes:
- AbstractController::Layouts, ViewContextWithReportFormatter
- Defined in:
- lib/dossier/renderer.rb
Instance Attribute Summary collapse
-
#report ⇒ Object
readonly
Returns the value of attribute report.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(report) ⇒ Engine
constructor
A new instance of Engine.
Methods included from ViewContextWithReportFormatter
Constructor Details
#initialize(report) ⇒ Engine
Returns a new instance of Engine.
57 58 59 60 |
# File 'lib/dossier/renderer.rb', line 57 def initialize(report) @report = report super() end |
Instance Attribute Details
#report ⇒ Object (readonly)
Returns the value of attribute report.
42 43 44 |
# File 'lib/dossier/renderer.rb', line 42 def report @report end |
Class Method Details
._helpers ⇒ Object
46 47 48 49 50 51 |
# File 'lib/dossier/renderer.rb', line 46 def self._helpers Module.new do include Rails.application.helpers include Rails.application.routes_url_helpers end end |
._view_paths ⇒ Object
53 54 55 |
# File 'lib/dossier/renderer.rb', line 53 def self._view_paths ActionController::Base.view_paths end |