Class: WickedPdf::WickedPdfHelper::Assets::PropshaftAsset

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

Instance Attribute Summary

Attributes inherited from LocalAsset

#path

Instance Method Summary collapse

Methods inherited from LocalAsset

#content_type, #filename, #initialize

Constructor Details

This class inherits a constructor from WickedPdf::WickedPdfHelper::Assets::LocalAsset

Instance Method Details

#to_sObject



64
65
66
# File 'lib/wicked_pdf/wicked_pdf_helper/assets.rb', line 64

def to_s
  Rails.application.assets.resolver.read(path)
end