Exception: RailsPdfRenderer::ActionViewHelper::MissingLocalAsset
- Inherits:
-
MissingAsset
- Object
- StandardError
- MissingAsset
- RailsPdfRenderer::ActionViewHelper::MissingLocalAsset
- Defined in:
- lib/rails/pdf/renderer/action_view_helper.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path) ⇒ MissingLocalAsset
constructor
A new instance of MissingLocalAsset.
Constructor Details
#initialize(path) ⇒ MissingLocalAsset
Returns a new instance of MissingLocalAsset.
15 16 17 18 |
# File 'lib/rails/pdf/renderer/action_view_helper.rb', line 15 def initialize(path) @path = path super("Could not find asset '#{path}'") end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
13 14 15 |
# File 'lib/rails/pdf/renderer/action_view_helper.rb', line 13 def path @path end |