Flowdock
method

collection

Importance_0
v3.0.0 - Show latest stable - 0 notes - Class: ActionView::Partials::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/render/partials.rb, line 301
      def collection
        if @object.respond_to?(:to_ary)
          @object
        elsif @options.key?(:collection)
          @options[:collection] || []
        end
      end
Register or log in to add new notes.