Module: ActionController::Renderers::ClassMethods

Defined in:
actionpack/lib/action_controller/metal/renderers.rb

Instance Method Summary collapse

Instance Method Details

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


18
19
20
21
# File 'actionpack/lib/action_controller/metal/renderers.rb', line 18

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