method
collection_from_object
v3.1.0 -
Show latest stable
- Class:
ActionView::PartialRenderer
collection_from_object()private
No documentation available.
# File actionpack/lib/action_view/renderer/partial_renderer.rb, line 305
def collection_from_object
if @object.respond_to?(:to_ary)
@object.to_ary
end
end