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



29
30
31
32
# File 'lib/action_controller/metal/renderers.rb', line 29

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