Exception: WickedPdf::WickedPdfHelper::Assets::MissingLocalAsset

Inherits:
MissingAsset
  • Object
show all
Defined in:
lib/wicked_pdf/wicked_pdf_helper/assets.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#pathObject (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