Class: WkhtmltopdfBinaryProvider::Dispatcher
- Inherits:
-
Object
- Object
- WkhtmltopdfBinaryProvider::Dispatcher
- Defined in:
- lib/wkhtmltopdf_binary_provider/dispatcher.rb
Class Method Summary collapse
-
.path ⇒ String
Returns path of wkhtmltopdf dispatch script.
Class Method Details
.path ⇒ String
Returns path of wkhtmltopdf dispatch script.
4 5 6 |
# File 'lib/wkhtmltopdf_binary_provider/dispatcher.rb', line 4 def self.path() Pathname.new(__FILE__).join("..", "..", "..", "bin", "wkhtmltopdf").realpath.to_s end |