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.



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

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

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



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

def path
  @path
end