class Bundler::GemDirectorySource

def ==(other)

def ==(other)
  location == other.location
end

def can_be_local?

def can_be_local?
  true
end

def download(spec)

def download(spec)
  # raise NotImplementedError
end

def fetch_specs

def fetch_specs
  specs = Hash.new { |h,k| h[k] = [] }
  Dir["#{@location}/*.gem"].each do |gemfile|
    spec = Gem::Format.from_file_by_path(gemfile).spec
    spec.source = self
    specs[spec.name] << spec
  end
  specs
end

def gems

def gems
  @specs ||= fetch_specs
end

def initialize(bundle, options)

def initialize(bundle, options)
  super
  @location = options[:location]
end

def to_s

def to_s
  location.to_s
end