Sha256: 72b92b641a67a6c4362ebc4596f3d98649011636cc37ac9825908cad45934147
Contents?: true
Size: 392 Bytes
Versions: 8
Compression:
Stored size: 392 Bytes
Contents
require "tilt/template" module RogerStyleGuide::Templates::Mustache # Tile template wrapper for our Mustache template class TiltTemplate < ::Tilt::Template def prepare @mustache = MustacheTemplate.new end def evaluate(scope, locals) @mustache.render(data, locals, scope) end end end Tilt.register RogerStyleGuide::Templates::Mustache::TiltTemplate, "mst"
Version data entries
8 entries across 8 versions & 1 rubygems