123456789_123456789_123456789_123456789_123456789_

Module: ActionController::Renderers::ClassMethods

Relationships & Source Files
Defined in: actionpack/lib/action_controller/metal/renderers.rb

Instance Method Summary

Instance Method Details

#use_renderer(*args)

Alias for #use_renderers.

[ GitHub ]

  
# File 'actionpack/lib/action_controller/metal/renderers.rb', line 33

alias use_renderer use_renderers

#use_renderers(*args) Also known as: #use_renderer

[ GitHub ]

  
# File 'actionpack/lib/action_controller/metal/renderers.rb', line 29

def use_renderers(*args)
  renderers = _renderers + args
  self._renderers = renderers.freeze
end