Sha256: 15f0d2afa88bc033f3bea6d6375b76b9bb08f257f69da138d70864d354986001

Contents?: true

Size: 285 Bytes

Versions: 7

Compression:

Stored size: 285 Bytes

Contents

# frozen_string_literal: true

module DocumentExporter
  module PDF
    class Material < PDF::Base
      private

      def template_path(name)
        custom_template_for(name).presence || File.join('lcms', 'engine', 'documents', 'pdf', 'materials', name)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
lcms-engine-0.3.1 lib/document_exporter/pdf/material.rb
lcms-engine-0.1.4 lib/document_exporter/pdf/material.rb
lcms-engine-0.3.0 lib/document_exporter/pdf/material.rb
lcms-engine-0.1.3 lib/document_exporter/pdf/material.rb
lcms-engine-0.2.0 lib/document_exporter/pdf/material.rb
lcms-engine-0.1.2 lib/document_exporter/pdf/material.rb
lcms-engine-0.1.0 lib/document_exporter/pdf/material.rb