Class: WkhtmltopdfBinaryProvider::Dispatcher

Inherits:
Object
  • Object
show all
Defined in:
lib/wkhtmltopdf_binary_provider/dispatcher.rb

Class Method Summary collapse

Class Method Details

.pathString

Returns path of wkhtmltopdf dispatch script.

Returns:

  • (String)

    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