with_defaults(defaults)
public
Creates a new renderer
using the same controller, but with the given defaults merged on top
of the previous defaults.
# File actionpack/lib/action_controller/renderer.rb, line 75
def with_defaults(defaults)
self.class.new controller, @env, @defaults.merge(defaults)
end