new(controller, env, defaults)
Accepts a custom Rack environment to render templates in. It will be merged with the default Rack environment defined by +ActionController::Renderer::DEFAULTS+.
# File actionpack/lib/action_controller/renderer.rb, line 65 def initialize(controller, env, defaults) @controller = controller @defaults = defaults @env = normalize_keys defaults, env end