Method: PuppetPdf::PdfCreator#initialize
- Defined in:
- lib/puppet_pdf/pdf_creator.rb
#initialize(task, source, options = {}) ⇒ PdfCreator
Returns a new instance of PdfCreator.
8 9 10 11 12 13 14 |
# File 'lib/puppet_pdf/pdf_creator.rb', line 8 def initialize(task, source, = {}) validate_yarn_installation @task = task @source = source @output_path = .fetch(:output_path, default_output_path) end |