Sha256: 6bd45a8f3dcda7e6548d6a26497a7ca76566b8f1e0d4f75dd9df5b8222e8264f

Contents?: true

Size: 401 Bytes

Versions: 1

Compression:

Stored size: 401 Bytes

Contents

require "cf/templates/version"

module Cf
  module Templates
    class FileTemplateProvider

      attr_reader :id, :template_location

      def initialize(id)
        @id = id
      end

      def set_template_location(template_file_path)
        @template_location = template_file_path
      end

      def get_template
        File.open(@template_location, 'rb').read
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cf-templates-0.3.1 lib/cf/templates.rb