method
collection_from_object
v8.1.1 -
Show latest stable
- Class:
ActionView::Renderer
collection_from_object(object)private
No documentation available.
# File actionview/lib/action_view/renderer/renderer.rb, line 103
def collection_from_object(object)
object if object.respond_to?(:to_ary)
end