Exception: WickedPdf::WickedPdfHelper::Assets::MissingLocalAsset
- Inherits:
-
MissingAsset
- Object
- StandardError
- MissingAsset
- WickedPdf::WickedPdfHelper::Assets::MissingLocalAsset
- Defined in:
- lib/wicked_pdf/wicked_pdf_helper/assets.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/wicked_pdf/wicked_pdf_helper/assets.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/wicked_pdf/wicked_pdf_helper/assets.rb', line 13 def path @path end |