Module: ActionController::Renderers::ClassMethods
- Defined in:
- actionpack/lib/action_controller/metal/renderers.rb
Instance Method Summary collapse
- #use_renderers(*args) ⇒ Object (also: #use_renderer)
Instance Method Details
#use_renderers(*args) ⇒ Object Also known as: use_renderer
20 21 22 23 |
# File 'actionpack/lib/action_controller/metal/renderers.rb', line 20 def use_renderers(*args) renderers = _renderers + args self._renderers = renderers.freeze end |