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.
17 18 19 20 |
# File 'lib/wicked_pdf/wicked_pdf_helper/assets.rb', line 17 def initialize(path) @path = path super("Could not find asset '#{path}'") end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
15 16 17 |
# File 'lib/wicked_pdf/wicked_pdf_helper/assets.rb', line 15 def path @path end |