Sha256: 0a6f0896fbac2c527a394a9227878d7850d19791d22ec0bddb64824ad4c80a5c
Contents?: true
Size: 264 Bytes
Versions: 7
Compression:
Stored size: 264 Bytes
Contents
require 'tilt' module Massimo class View < Resource unprocessable def render(locals = {}, &block) template = Tilt.new(source_path.basename.to_s) { content } template.render(Massimo.site.template_scope, locals, &block) end end end
Version data entries
7 entries across 7 versions & 1 rubygems