# File lib/wicked_pdf/wicked_pdf_helper.rb, line 11 def wicked_pdf_stylesheet_link_tag(*sources) css_dir = WickedPdfHelper.root_path.join('public', 'stylesheets') css_text = sources.collect do |source| source = WickedPdfHelper.add_extension(source, 'css') "<style type='text/css'>#{File.read(css_dir.join(source))}</style>" end.join("\n") css_text.respond_to?(:html_safe) ? css_text.html_safe : css_text end