1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00
haml--haml/lib/hamlit/engine.rb
2015-03-15 00:09:09 +09:00

14 lines
251 B
Ruby

require 'temple'
require 'hamlit/parser'
module Hamlit
class Engine < Temple::Engine
define_options generator: Temple::Generators::ArrayBuffer
use Parser
html :Fast
use :Generator do
options[:generator].new
end
end
end