class ActionController::Renderer

def with_defaults(defaults)

defaults merged on top of the previous defaults.
Creates a new renderer using the same controller, but with the given
def with_defaults(defaults)
  self.class.new controller, @env, @defaults.merge(defaults)
end