Sha256: 1936b1e7646b18d8ea09dfbc4966c3a6f5bf9ac22612ac9a259e2819d3d2d370
Contents?: true
Size: 866 Bytes
Versions: 12
Compression:
Stored size: 866 Bytes
Contents
require 'temple' require 'hamlit/parser' require 'hamlit/compiler' require 'hamlit/escapable' require 'hamlit/html' require 'hamlit/string_splitter' require 'hamlit/static_analyzer' module Hamlit class Engine < Temple::Engine define_options( generator: Temple::Generators::ArrayBuffer, format: :html, attr_quote: "'", escape_html: true, escape_attrs: true, autoclose: %w(area base basefont br col command embed frame hr img input isindex keygen link menuitem meta param source track wbr), filename: "", ) use Parser use Compiler use HTML use StringSplitter use StaticAnalyzer use Escapable filter :ControlFlow filter :MultiFlattener filter :StaticMerger use :Generator, -> { options[:generator] } end end
Version data entries
12 entries across 12 versions & 1 rubygems