1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

ActionController::Renderers documentation fix

ActionController::Renderers::RENDERERS is an instance of Set. Docs incorrectly
state that it's a Hash.
This commit is contained in:
Stevie Graham 2014-04-20 21:46:19 +01:00
parent 50b849c7e0
commit 7fb0d21a3b

View file

@ -42,8 +42,8 @@ module ActionController
nil nil
end end
# Hash of available renderers, mapping a renderer name to its proc. # A Set containing renderer names that correspond to available renderer procs.
# Default keys are <tt>:json</tt>, <tt>:js</tt>, <tt>:xml</tt>. # Default values are <tt>:json</tt>, <tt>:js</tt>, <tt>:xml</tt>.
RENDERERS = Set.new RENDERERS = Set.new
# Adds a new renderer to call within controller actions. # Adds a new renderer to call within controller actions.