class ActionView::PartialRenderer

def render(partial, context, block)

def render(partial, context, block)
  template = find_template(partial, template_keys(partial))
  if !block && (layout = @options[:layout])
    layout = find_template(layout.to_s, template_keys(partial))
  end
  render_partial_template(context, @locals, template, layout, block)
end