Module: ActionController::Rendering::ClassMethods
Relationships & Source Files | |
Defined in: | actionpack/lib/action_controller/metal/rendering.rb |
Instance Attribute Summary
- #render readonly
-
#renderer
readonly
Returns a renderer instance (inherited from
::ActionController::Renderer
) for the controller.
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.
# 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