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
- #inherited(klass)
- #setup_renderer! Internal use only
Instance Attribute Details
#render (readonly)
[ GitHub ]# File 'actionpack/lib/action_controller/metal/rendering.rb', line 13
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 17
attr_reader :renderer
Instance Method Details
#inherited(klass)
[ GitHub ]# File 'actionpack/lib/action_controller/metal/rendering.rb', line 23
def inherited(klass) klass.setup_renderer! super end
#setup_renderer!
This method is for internal use only.
[ GitHub ]