Sha256: fa3b192c8ee6116de4ebc41dd35c87a1f8d8fb466010c65d0fae8616bfeb246a
Contents?: true
Size: 514 Bytes
Versions: 16
Compression:
Stored size: 514 Bytes
Contents
require 'temple' require 'hamlit/compiler' require 'hamlit/html' require 'hamlit/parser' require 'hamlit/temple' module Hamlit class Engine < Temple::Engine define_options( generator: Temple::Generators::ArrayBuffer, format: :html, attr_quote: "'", escape_html: true, ) use Parser use Compiler use HTML filter :Escapable filter :ControlFlow filter :MultiFlattener filter :StaticMerger use :Generator, -> { options[:generator] } end end
Version data entries
16 entries across 16 versions & 1 rubygems