Module: Documentalist::WkHtmlToPdf
- Includes:
- Dependencies
- Defined in:
- lib/backends/wkhtmltopdf.rb
Class Method Summary collapse
Methods included from Dependencies
Class Method Details
.convert(file, options) ⇒ Object
7 8 9 |
# File 'lib/backends/wkhtmltopdf.rb', line 7 def self.convert(file, ) system "wkhtmltopdf -q #{file} #{options[:to]}" end |