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