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.



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

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