Sha256: 6407e2ae391e20f605309a8fa8044c7c80bba912eb55475d49660e5815234b61
Contents?: true
Size: 666 Bytes
Versions: 1
Compression:
Stored size: 666 Bytes
Contents
module Slim # Tilt template implementation for Slim # @api public Template = Temple::Templates::Tilt(Slim::Engine, :register_as => :slim) if Object.const_defined?(:Rails) # Rails template implementation for Slim # @api public RailsTemplate = Temple::Templates::Rails(Slim::Engine, :register_as => :slim) # Use rails-specific generator. This is necessary # to support block capturing. Disable the internal slim capturing. # Rails takes care of the capturing by itself. RailsTemplate.set_default_options :generator => Temple::Generators::RailsOutputBuffer, :disable_capture => true end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
slim-0.9.2 | lib/slim/template.rb |