Module: Svg2pdf
- Defined in:
- lib/svg2pdf.rb
Defined Under Namespace
Classes: CairoError, Config, FileNotFoundError, InvalidSvgFileError, Processor, Svg2pdfError, UnsupportedFormatError
Class Attribute Summary collapse
-
.config ⇒ Object
Returns the value of attribute config.
Class Method Summary collapse
- .configure {|config| ... } ⇒ Object
- .convert_from_data(svg, format, options = {}) ⇒ Object
- .convert_from_file(svg, format, options = {}) ⇒ Object
Class Attribute Details
.config ⇒ Object
Returns the value of attribute config.
13 14 15 |
# File 'lib/svg2pdf.rb', line 13 def config @config end |
Class Method Details
.configure {|config| ... } ⇒ Object
20 21 22 |
# File 'lib/svg2pdf.rb', line 20 def self.configure yield(config) end |