instance method
new
Ruby on Rails 7.0.10
Since v5.2.8.1Signature
new(env = {})
Create a new renderer for the same controller but with a new env.
Parameters
-
envopt = {}
Source
# File actionpack/lib/action_controller/renderer.rb, line 53
def new(env = {})
self.class.new controller, env, defaults
end
Defined in actionpack/lib/action_controller/renderer.rb line 53
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Renderer