123456789_123456789_123456789_123456789_123456789_

Module: ActionController::Rendering::ClassMethods

Relationships & Source Files
Defined in: actionpack/lib/action_controller/metal/rendering.rb

Instance Attribute Summary

Instance Method Summary

Instance Attribute Details

#render (readonly)

[ GitHub ]

  
# File 'actionpack/lib/action_controller/metal/rendering.rb', line 11
delegate :render, to: :renderer

#renderer (readonly)

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

[ GitHub ]

  
# File 'actionpack/lib/action_controller/metal/rendering.rb', line 15
attr_reader :renderer

Instance Method Details

#inherited(klass)

[ GitHub ]

  
# File 'actionpack/lib/action_controller/metal/rendering.rb', line 21
def inherited(klass)
  klass.setup_renderer!
  super
end