A Ruby gem to transform HTML into PDFs, PNGs or JPEGs using Google Puppeteer/Chromium
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
marcuxyz opened this issue 2 months ago · comments
Hi, thanks for providing the gem
How to save pdf, using method .save?
.save
Hi @marcuxyz
Please read the Usage documentation. There is no save method because Grover supports many output formats. Instead there is to_pdf, to_png, to_jpeg and to_html. It sounds like you want .to_pdf
save
to_pdf
to_png
to_jpeg
to_html
.to_pdf
Always a good idea to read the documentation first 😉