Sha256: 8a7743c11a9f43f84a646abe5bf76cc13c99ef79b5e460cb620d2734b3d8d05d

Contents?: true

Size: 285 Bytes

Versions: 9

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

9 entries across 9 versions & 1 rubygems

Version Path
lcms-engine-0.5.5 lib/document_exporter/pdf/material.rb
lcms-engine-0.5.4 lib/document_exporter/pdf/material.rb
lcms-engine-0.5.3 lib/document_exporter/pdf/material.rb
lcms-engine-0.5.2 lib/document_exporter/pdf/material.rb
lcms-engine-0.5.1 lib/document_exporter/pdf/material.rb
lcms-engine-0.5.0 lib/document_exporter/pdf/material.rb
lcms-engine-0.4.2 lib/document_exporter/pdf/material.rb
lcms-engine-0.4.1 lib/document_exporter/pdf/material.rb
lcms-engine-0.4.0 lib/document_exporter/pdf/material.rb