method
collection_from_options
v7.2.3 -
Show latest stable
- Class:
ActionView::Renderer
collection_from_options(options)private
No documentation available.
# File actionview/lib/action_view/renderer/renderer.rb, line 96
def collection_from_options(options)
if options.key?(:collection)
collection = options[:collection]
collection || []
end
end