ruby-win32/lib/ruby/site_ruby/1.8/rubygems/source_info_cache.rb
# Searches all source indexes for +pattern+.
Searches all source indexes for +pattern+.
Searches all source indexes for + pattern + .
def search(pattern, platform_only = false)
    cache_data.map do |source_uri, sic_entry|
      next unless Gem.sources.include? source_uri
      sic_entry.source_index.search pattern, platform_only
    end.flatten.compact
  end
def search ( pattern , platform_only = false ) cache_data . map do | source_uri , sic_entry | next unless Gem . sources . include? source_uri sic_entry . source_index . search pattern , platform_only end . flatten . compact end
Searches all source indexes for +pattern+.
Searches all source indexes for + pattern + .
pattern
platform_only