Class: WeasyPDF::Renderer
- Inherits:
-
Object
- Object
- WeasyPDF::Renderer
- Defined in:
- sig/renderer.rbs
Constant Summary collapse
- WEASYPRINT_OPTIONS =
Instance Method Summary collapse
-
#initialize ⇒ Renderer
constructor
A new instance of Renderer.
- #pdf_from_html_file ⇒ String?
- #pdf_from_string ⇒ String?
- #pdf_from_url ⇒ String?
Constructor Details
#initialize ⇒ Renderer
Returns a new instance of Renderer.
5 |
# File 'sig/renderer.rbs', line 5 def initialize: (?Hash[Symbol, untyped] ) -> void |
Instance Method Details
#pdf_from_html_file ⇒ String?
7 |
# File 'sig/renderer.rbs', line 7 def pdf_from_html_file: (String | Pathname filepath, ?Hash[Symbol, untyped] ) -> String? |
#pdf_from_string ⇒ String?
6 |
# File 'sig/renderer.rbs', line 6 def pdf_from_string: (String html_string, ?Hash[Symbol, untyped] ) -> String? |
#pdf_from_url ⇒ String?
8 |
# File 'sig/renderer.rbs', line 8 def pdf_from_url: (String url, ?Hash[Symbol, untyped] ) -> String? |