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



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

def content_type
  super.to_s
end

#filenameObject



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

def filename
  path.to_s
end

#to_sObject



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

def to_s
  content
end