Exception: WeasyPDF::MissingLocalAsset

Inherits:
MissingAsset show all
Defined in:
lib/weasy_pdf.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ MissingLocalAsset

Returns a new instance of MissingLocalAsset.



24
25
26
27
# File 'lib/weasy_pdf.rb', line 24

def initialize(path)
  @path = path
  super("Asset not found: '#{path}'")
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



22
23
24
# File 'lib/weasy_pdf.rb', line 22

def path
  @path
end