Sha256: 61d85fd2b1e51339e64a2e10334a841331cde85fb8ec5180b52dfef2fdd5f865

Contents?: true

Size: 493 Bytes

Versions: 7

Compression:

Stored size: 493 Bytes

Contents

# encoding: UTF-8

require 'cutaneous'

module Spontaneous::Plugins::Application
  module Render
    extend ActiveSupport::Concern

    module ClassMethods
      attr_accessor :render_engine

      def template_ext
        template_engine.extension
      end

      def template_engine
        @template_engine ||= Cutaneous
      end

      def template_engine=(engine)
        @template_engine = engine
      end
    end # ClassMethods
  end # Render
end # Spontaneous::Plugins::Application

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
spontaneous-0.2.0.alpha7 lib/spontaneous/plugins/application/render.rb
spontaneous-0.2.0.alpha6 lib/spontaneous/plugins/application/render.rb
spontaneous-0.2.0.alpha5 lib/spontaneous/plugins/application/render.rb
spontaneous-0.2.0.alpha4 lib/spontaneous/plugins/application/render.rb
spontaneous-0.2.0.alpha3 lib/spontaneous/plugins/application/render.rb
spontaneous-0.2.0.alpha2 lib/spontaneous/plugins/application/render.rb
spontaneous-0.2.0.alpha1 lib/spontaneous/plugins/application/render.rb