mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
14 lines
251 B
Ruby
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
|