class RDoc::ClassModule

def merge_collections(mine, other, other_files, &block) # :nodoc:

:nodoc:
def merge_collections(mine, other, other_files, &block) # :nodoc:
  my_things    = mine. group_by { |thing| thing.file }
  other_things = other.group_by { |thing| thing.file }
  remove_things my_things, other_files,  &block
  add_things    my_things, other_things, &block
end