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


10
11
12
# File 'lib/wicked_pdf/wicked_pdf_helper/assets.rb', line 10

def content_type
  super.to_s
end

#filenameObject


18
19
20
# File 'lib/wicked_pdf/wicked_pdf_helper/assets.rb', line 18

def filename
  path.to_s
end

#to_sObject


14
15
16
# File 'lib/wicked_pdf/wicked_pdf_helper/assets.rb', line 14

def to_s
  content
end