class Mustache::Context
def partial(name, indentation = '')
representing your profile page or some other template) responds
If the Mustache view handling the rendering (e.g. the view
`partial` method, which would be this sucker right here.
A {{>partial}} tag translates into a call to the context's
def partial(name, indentation = '') # Look for the first Mustache in the stack. mustache = mustache_in_stack # Indent the partial template by the given indentation. part = mustache.partial(name).to_s.gsub(/^/, indentation) # Call the Mustache's `partial` method and render the result. result = mustache.render(part, self) end