method

collection_from_options

collection_from_options()
private

No documentation available.

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