Sha256: 56206bfb1cc8dbcb9f2a30d3fef004b66fddce6f9ce880ec312237fe858bdb78

Contents?: true

Size: 491 Bytes

Versions: 10

Compression:

Stored size: 491 Bytes

Contents

# encoding: UTF-8

require 'cutaneous'

module Spontaneous::Plugins::Application
  module Render
    extend Spontaneous::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

10 entries across 10 versions & 1 rubygems

Version Path
spontaneous-0.2.0.beta10 lib/spontaneous/plugins/application/render.rb
spontaneous-0.2.0.beta9 lib/spontaneous/plugins/application/render.rb
spontaneous-0.2.0.beta8 lib/spontaneous/plugins/application/render.rb
spontaneous-0.2.0.beta7 lib/spontaneous/plugins/application/render.rb
spontaneous-0.2.0.beta6 lib/spontaneous/plugins/application/render.rb
spontaneous-0.2.0.beta5 lib/spontaneous/plugins/application/render.rb
spontaneous-0.2.0.beta4 lib/spontaneous/plugins/application/render.rb
spontaneous-0.2.0.beta3 lib/spontaneous/plugins/application/render.rb
spontaneous-0.2.0.beta2 lib/spontaneous/plugins/application/render.rb
spontaneous-0.2.0.beta1 lib/spontaneous/plugins/application/render.rb