method

collection

collection()
private

No documentation available.

# File actionpack/lib/action_view/renderer/partial_renderer.rb, line 315
    def collection
      if @options.key?(:collection)
        collection = @options[:collection]
        collection.respond_to?(:to_ary) ? collection.to_ary : []
      end
    end