ruby-win32/lib/ruby/site_ruby/1.8/rubygems/source_info_cache.rb
def refresh
    Gem.sources.each do |source_uri|
      cache_entry = cache_data[source_uri]
      if cache_entry.nil? then
        cache_entry = Gem::SourceInfoCacheEntry.new nil, 0
        cache_data[source_uri] = cache_entry
      end

      update if cache_entry.refresh source_uri
    end

    flush
  end
# Refreshes each source in the cache from its repository.
Refreshes each source in the cache from its repository.
Refreshes each source in the cache from its repository .
def refresh
    Gem.sources.each do |source_uri|
      cache_entry = cache_data[source_uri]
      if cache_entry.nil? then
        cache_entry = Gem::SourceInfoCacheEntry.new nil, 0
        cache_data[source_uri] = cache_entry
      end
      update if cache_entry.refresh source_uri
    end
    flush
  end
def refresh Gem . sources . each do | source_uri | cache_entry = cache_data [ source_uri ] if cache_entry . nil? then cache_entry = Gem :: SourceInfoCacheEntry . new nil , 0 cache_data [ source_uri ] = cache_entry end update if cache_entry . refresh source_uri end flush end
Refreshes each source in the cache from its repository.
Refreshes each source in the cache from its repository .