From 7fb0d21a3b91bbabd39eeb8ba6fd28733ab925db Mon Sep 17 00:00:00 2001 From: Stevie Graham Date: Sun, 20 Apr 2014 21:46:19 +0100 Subject: ActionController::Renderers documentation fix ActionController::Renderers::RENDERERS is an instance of Set. Docs incorrectly state that it's a Hash. --- actionpack/lib/action_controller/metal/renderers.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionpack/lib/action_controller') diff --git a/actionpack/lib/action_controller/metal/renderers.rb b/actionpack/lib/action_controller/metal/renderers.rb index 6c7b4652d4..0443b73953 100644 --- a/actionpack/lib/action_controller/metal/renderers.rb +++ b/actionpack/lib/action_controller/metal/renderers.rb @@ -42,8 +42,8 @@ module ActionController nil end - # Hash of available renderers, mapping a renderer name to its proc. - # Default keys are :json, :js, :xml. + # A Set containing renderer names that correspond to available renderer procs. + # Default values are :json, :js, :xml. RENDERERS = Set.new # Adds a new renderer to call within controller actions. -- cgit v1.2.3