Module: ActionController::Renderers::ClassMethods

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

Instance Method Summary collapse

Instance Method Details

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



24
25
26
27
# File 'lib/action_controller/metal/renderers.rb', line 24

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