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
24 25 26 27 |
# File 'actionpack/lib/action_controller/metal/renderers.rb', line 24 def use_renderers(*args) renderers = _renderers + args self._renderers = renderers.freeze end |