Sha256: e1dd16e043f1256ea1dce41fdd14ca226d18d72879c50e865f6a3b149dfc7d5e
Contents?: true
Size: 264 Bytes
Versions: 2
Compression:
Stored size: 264 Bytes
Contents
module Documentalist module WkHtmlToPdf include Documentalist::Dependencies depends_on_binaries! "wkhtmltopdf" => "install wkhtmltopdf package" def self.convert(file, options) system "wkhtmltopdf -q #{file} #{options[:to]}" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
documentalist-0.1.3 | lib/backends/wkhtmltopdf.rb |
documentalist-0.1.2 | lib/backends/wkhtmltopdf.rb |