require 'tilt/template' module Jasmine::Headless class JSTemplate < Tilt::Template self.default_mime_type = 'application/javascript' def prepare ; end def evaluate(scope, locals, &block) file ? %{} : data end end end