Guest User

Untitled

a guest
Nov 18th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. class Cuba
  2. module Render
  3. def render(template, locals = {}, options = {}, &block)
  4. _cache.fetch(template) {
  5. Tilt.new(template, 1, options.merge(outvar: '@_output')
  6. }.render(self, locals, &block)
  7. end
  8. end
  9. end
Add Comment
Please, Sign In to add comment