Method: Bundler::CompactIndexClient#initialize

Defined in:
lib/bundler/compact_index_client.rb

#initialize(directory, fetcher = nil) ⇒ CompactIndexClient

Returns a new instance of CompactIndexClient.


57
58
59
60
# File 'lib/bundler/compact_index_client.rb', line 57

def initialize(directory, fetcher = nil)
  @cache = Cache.new(directory, fetcher)
  @parser = Parser.new(@cache)
end