Exception: WeasyPDF::MissingLocalAsset
- Inherits:
-
MissingAsset
- Object
- StandardError
- Error
- MissingAsset
- WeasyPDF::MissingLocalAsset
- Defined in:
- lib/weasy_pdf.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.
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
#path ⇒ Object (readonly)
Returns the value of attribute path.
22 23 24 |
# File 'lib/weasy_pdf.rb', line 22 def path @path end |