class Wisepdf::NoExecutableError
Public Class Methods
new(path=nil)
click to toggle source
Calls superclass method
# File lib/wisepdf/errors.rb, line 3 def initialize(path=nil) msg = "No wkhtmltopdf found or it is not executable\n" msg += "Path: '#{path}'\n" unless path.nil? msg += "Please install wkhtmltopdf - http://code.google.com/p/wkhtmltopdf" super(msg) end