class ActionView::Renderer

def render_to_object(context, options) # :nodoc:

:nodoc:
def render_to_object(context, options) # :nodoc:
  if options.key?(:partial)
    render_partial_to_object(context, options)
  else
    render_template_to_object(context, options)
  end
end