Flowdock
method

find_in_unresolved

Importance_0
Ruby latest stable (v1_9_3_392) - 0 notes - Class: GemPathSearcher
find_in_unresolved(glob) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# 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
Register or log in to add new notes.