Sha256: d5105da8fa3db2cfa73640e31662a51508074ab8f5ade9f14d47f8389b071d46
Contents?: true
Size: 327 Bytes
Versions: 1
Compression:
Stored size: 327 Bytes
Contents
require 'tilt' require 'faml/engine' module Faml class Tilt < Tilt::Template def prepare @code = Engine.new(options.merge(filename: File.expand_path(file))).call(data) end def precompiled_template(locals = {}) @code end end ::Tilt.register(Tilt, 'haml') ::Tilt.register(Tilt, 'faml') end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
faml-0.2.6 | lib/faml/tilt.rb |