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

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

Instance Method Summary collapse

Instance Method Details

#content_typeObject



32
33
34
# File 'lib/wicked_pdf/wicked_pdf_helper/assets.rb', line 32

def content_type
  super.to_s
end

#filenameObject



40
41
42
# File 'lib/wicked_pdf/wicked_pdf_helper/assets.rb', line 40

def filename
  path.to_s
end

#to_sObject



36
37
38
# File 'lib/wicked_pdf/wicked_pdf_helper/assets.rb', line 36

def to_s
  content
end