# File lib/mustache.rb, line 344
  def render(data = template, ctx = {})
    tpl = templateify(data)

    return tpl.render(context) if ctx == {}

    begin
      context.push(ctx)
      tpl.render(context)
    ensure
      context.pop
    end
  end