method

new

new(env = nil)
public

Creates a new renderer using the same controller, but with a new Rack env.

ApplicationController.renderer.new(method: "post")