Module: AwWkhtmltopdf

Defined in:
lib/aw_wkhtmltopdf.rb,
lib/aw_wkhtmltopdf/version.rb

Defined Under Namespace

Classes: Error, NotSupportedPlatformError

Constant Summary collapse

LIBEXEC_PATH =
Pathname(__dir__).parent.join('libexec').expand_path
VERSION =

wkhtmltopdf version + “.0.” + gem revision

'0.12.3.0.1'

Class Method Summary collapse

Class Method Details

.pathObject



12
13
14
15
16
# File 'lib/aw_wkhtmltopdf.rb', line 12

def path
  cpu, os, suffix = determine_cpu_os_suffix
  exe_path = LIBEXEC_PATH.join("wkhtmltopdf-#{cpu}_#{os}#{suffix}")
  exe_path
end