Sha256: aa12dcef546d56e4c753123ef8329430f2ad2ed70863ffd844ee7a8276c71dd2
Contents?: true
Size: 326 Bytes
Versions: 55
Compression:
Stored size: 326 Bytes
Contents
module Hamlit module Compilers module Comment def on_haml_comment(condition, exps) content = [:multi] content << [:static, "#{condition}>\n"] content += exps.map { |exp| compile(exp) } content << [:static, "<![endif]"] [:html, :comment, content] end end end end
Version data entries
55 entries across 55 versions & 1 rubygems