method

find_in_unresolved

ruby latest stable - Class: Gem::GemPathSearcher

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_3_392) is shown here.

find_in_unresolved(glob)
public

No documentation available.

# File lib/rubygems/gem_path_searcher.rb, line 84
  def find_in_unresolved(glob)
    # HACK violation
    specs = Gem.unresolved_deps.values.map { |dep|
      Gem.source_index.search dep, true
    }.flatten

    specs.select do |spec|
      # TODO: inverted responsibility
      matching_file? spec, glob
    end || []
  end