class Tilt::StaticTemplate
def self.subclass(mime_type: 'text/html', &block)
def self.subclass(mime_type: 'text/html', &block) Class.new(self) do self.default_mime_type = mime_type private define_method(:_prepare_output, &block) end end
def allows_script?
def allows_script? false end
def compiled_method(locals_keys, scope_class=nil)
Raise NotImplementedError, since static templates
def compiled_method(locals_keys, scope_class=nil) raise NotImplementedError end
def prepare
def prepare @output = _prepare_output end
def render(scope=nil, locals=nil)
def render(scope=nil, locals=nil) @output end
def set_compiled_method_cache
def set_compiled_method_cache end