Exception: MyPDFKit::NoExecutableError
- Defined in:
- lib/my_pdfkit/pdfkit.rb
Instance Method Summary collapse
-
#initialize ⇒ NoExecutableError
constructor
A new instance of NoExecutableError.
Constructor Details
#initialize ⇒ NoExecutableError
Returns a new instance of NoExecutableError.
10 11 12 13 14 |
# File 'lib/my_pdfkit/pdfkit.rb', line 10 def initialize msg = "No wkhtmltopdf executable found at #{MyPDFKit.configuration.wkhtmltopdf}\n" \ ">> Please install wkhtmltopdf - https://github.com/pdfkit/MyPDFKit/wiki/Installing-WKHTMLTOPDF" super(msg) end |