From 53cda477d5a057c7da5c7b07c5bc59a43b158110 Mon Sep 17 00:00:00 2001 From: Andrew Haines Date: Mon, 15 Apr 2013 22:55:20 +0100 Subject: [PATCH] Remove outdated documentation Closes #522 --- lib/draper/collection_decorator.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/draper/collection_decorator.rb b/lib/draper/collection_decorator.rb index e38df46..3c68a24 100644 --- a/lib/draper/collection_decorator.rb +++ b/lib/draper/collection_decorator.rb @@ -18,9 +18,7 @@ module Draper # @param [Enumerable] source # collection to decorate. # @option options [Class, nil] :with (nil) - # the decorator class used to decorate each item. When `nil`, it is - # inferred from the collection decorator class if possible (e.g. - # `ProductsDecorator` maps to `ProductDecorator`), otherwise each item's + # the decorator class used to decorate each item. When `nil`, each item's # {Decoratable#decorate decorate} method will be used. # @option options [Hash] :context ({}) # extra data to be stored in the collection decorator and used in