method

collection

Importance_0
v3.2.8 - Show latest stable - 0 notes - Class: PartialRenderer
collection() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.