Sha256: 5c50f18b661f15d3a07fb357da61bf73c814fd708767b88680c7249116ae7ac9
Contents?: true
Size: 449 Bytes
Versions: 2
Compression:
Stored size: 449 Bytes
Contents
require 'malt/formats/abstract_template' require 'malt/engines/mustache' module Malt::Format # Mustache templates # # http://github.com/defunkt/mustache # class Mustache < AbstractTemplate register('mustache') # def mustache(*) text end # def to_mustache(*) self end private # def render_engine @render_engine ||= Malt::Engine::Mustache.new(options) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
malt-0.3.0 | lib/malt/formats/mustache.rb |
malt-0.2.0 | lib/malt/formats/mustache.rb |