Sha256: 3a18d147dd6a08889855175cc535202140edfab8adcb0560e0ca48bf5391a103

Contents?: true

Size: 331 Bytes

Versions: 7

Compression:

Stored size: 331 Bytes

Contents

require 'mn2pdf'
require_relative "./utils.rb"

module Metanorma
  module Output
    class XslfoPdf < Base
      def convert(url_path, output_path, xsl_stylesheet)
        return if url_path.nil? || output_path.nil? || xsl_stylesheet.nil?

        Mn2pdf.convert(url_path, output_path, xsl_stylesheet)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
metanorma-cli-1.3.4 gems/ruby/2.6.0/gems/metanorma-1.1.2/lib/metanorma/output/xslfo.rb
metanorma-cli-1.3.3.1 gems/ruby/2.6.0/gems/metanorma-1.1.2/lib/metanorma/output/xslfo.rb
metanorma-1.1.2 lib/metanorma/output/xslfo.rb
metanorma-1.1.1 lib/metanorma/output/xslfo.rb
metanorma-1.1.0 lib/metanorma/output/xslfo.rb
metanorma-1.0.6 lib/metanorma/output/xslfo.rb
metanorma-1.0.5 lib/metanorma/output/xslfo.rb