This method is deprecated or moved on the latest stable version.
The last existing version (v1_9_3_392) is shown here.
clean_cache_collection(collection)
public
Removes empty items and ensures item in each collection are unique and
sorted
# File lib/rdoc/ri/store.rb, line 122
def clean_cache_collection collection # :nodoc:
collection.each do |name, item|
if item.empty? then
collection.delete name
else
# HACK mongrel-1.1.5 documents its files twice
item.uniq!
item.sort!
end
end
end