Sha256: 17268b688512d18fb6a7330b0c7cf274e1c542a71947d7004c33ec1db3e70d3f
Contents?: true
Size: 1015 Bytes
Versions: 9
Compression:
Stored size: 1015 Bytes
Contents
module Hamlet # Tilt template implementation for Hamlet # @api public Template = Temple::Templates::Tilt(Hamlet::Engine, :register_as => :hamlet) if Object.const_defined?(:Rails) # Rails template implementation for Hamlet # @api public RailsTemplate = Temple::Templates::Rails(Hamlet::Engine, :register_as => :hamlet, # Use rails-specific generator. This is necessary # to support block capturing and streaming. :generator => Temple::Generators::RailsOutputBuffer, # Disable the internal hamlet capturing. # Rails takes care of the capturing by itself. :disable_capture => true, :streaming => Object.const_defined?(:Fiber)) end end
Version data entries
9 entries across 9 versions & 1 rubygems