lib/cocoapods-core/source/aggregate.rb
# Generates search data for given array of sets.
Generates search data for given array of sets.
Generates search data for given array of sets .
def generate_search_index_for_sets(sets)
        result = {}
        sets.each do |set|
          word_list_from_set(set).each do |w|
            (result[w] ||= []).push(set.name)
          end
        end
        result
      end
def generate_search_index_for_sets ( sets ) result = { } sets . each do | set | word_list_from_set ( set ) . each do | w | ( result [ w ] ||= [ ] ) . push ( set . name ) end end result end
Generates search data for given array of sets.
Generates search data for given array of sets .
sets
<not_specific>