Module: ActionController::Rendering::ClassMethods
- Defined in:
- actionpack/lib/action_controller/metal/rendering.rb
Instance Attribute Summary collapse
-
#renderer ⇒ Object
readonly
Returns a renderer instance (inherited from ActionController::Renderer) for the controller.
Instance Method Summary collapse
Instance Attribute Details
#renderer ⇒ Object (readonly)
Returns a renderer instance (inherited from ActionController::Renderer) for the controller.
15 16 17 |
# File 'actionpack/lib/action_controller/metal/rendering.rb', line 15 def renderer @renderer end |
Instance Method Details
#inherited(klass) ⇒ Object
21 22 23 24 |
# File 'actionpack/lib/action_controller/metal/rendering.rb', line 21 def inherited(klass) klass.setup_renderer! super end |