Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Cuba
- module Render
- def render(template, locals = {}, options = {}, &block)
- _cache.fetch(template) {
- Tilt.new(template, 1, options.merge(outvar: '@_output')
- }.render(self, locals, &block)
- end
- end
- end
Add Comment
Please, Sign In to add comment