Module: ActionController::Rendering::ClassMethods
- Defined in:
- 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.
17 18 19 |
# File 'lib/action_controller/metal/rendering.rb', line 17 def renderer @renderer end |
Instance Method Details
#inherited(klass) ⇒ Object
23 24 25 26 |
# File 'lib/action_controller/metal/rendering.rb', line 23 def inherited(klass) klass.setup_renderer! super end |