Sha256: 36f37a607595791da930ea03f1c257107060246493b114189204b42cd98b5f2b
Contents?: true
Size: 262 Bytes
Versions: 55
Compression:
Stored size: 262 Bytes
Contents
require 'hamlit/filters/tilt' module Hamlit module Filters class Coffee < Filters::Tilt def compile(lines) ast = [:html, :tag, 'script', [:html, :attrs]] compile_with_tilt('coffee', lines.join("\n"), ast) end end end end
Version data entries
55 entries across 55 versions & 1 rubygems