rails / 5.1.6 / actioncontroller / rendering / classmethods.html /

module ActionController::Rendering::ClassMethods

Attributes

renderer [R]

Returns a renderer instance (inherited from ActionController::Renderer) for the controller.

Public Instance Methods

inherited (klass) Show source
# File actionpack/lib/action_controller/metal/rendering.rb, line 21
def inherited(klass)
  klass.setup_renderer!
  super
end
Calls superclass method

© 2004–2018 David Heinemeier Hansson
Licensed under the MIT License.