W3cubDocs

/Ruby on Rails 5.0

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
Calls superclass method
# File actionpack/lib/action_controller/metal/rendering.rb, line 21
def inherited(klass)
  klass.setup_renderer!
  super
end

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