Sha256: 15cbe357c634645d429e57a862d90583f9e253e1e5b13d96125f888b88e91ece

Contents?: true

Size: 586 Bytes

Versions: 2

Compression:

Stored size: 586 Bytes

Contents

# -*- encoding : utf-8 -*-
require 'mustache_render/adapter'
require 'mustache_render/config'
require 'mustache_render/mustache'
# require 'benchmark'

module MustacheRender
  def self.logger
    MustacheRender.config.logger
  end

  autoload :Adapter,       'mustache_render/adapter'
  autoload :PopulatorBase, 'mustache_render/populator_base'

  module CoreExt
    autoload :BaseControllerExt,   'mustache_render/core_ext/base_controller_ext'
  end
end

if defined?(::ActionController::Base)
  ::ActionController::Base.send :include, ::MustacheRender::CoreExt::BaseControllerExt
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mustache_render-0.0.21 lib/mustache_render.rb
mustache_render-0.0.20 lib/mustache_render.rb